CSS named color
Indian Red #CD5C5C
The CSS keyword indianred is #CD5C5C. It is a soft red in the red family. In OKLCH it sits at lightness 0.615, chroma 0.144 and hue 22.2°.
- Relative luminance
- 0.2141
- OKLCH L · C · h
- 0.615 · 0.144 · 22.2
- Best text
- Black 5.28:1
- Hue family
- Red
#CD5C5C color codes
- HEX
#CD5C5C- RGB
rgb(205, 92, 92)- HSL
hsl(0, 53%, 58%)- OKLCH
oklch(0.615 0.144 22.2)- OKLab
oklab(0.615 0.133 0.055)- CIELAB (D65)
L* 53.40, a* 44.83, b* 22.12- XYZ (D65)
X 30.94, Y 21.41, Z 12.63- CMYK (naive)
cmyk(0%, 55%, 55%, 20%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #CD5C5C accessible?
Black text on it reaches 5.28:1, passing AA. White text manages only 3.97:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
5.28:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +37
-
White text on it
3.97:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −72
-
As text on black
5.28:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −35
-
As text on white
3.97:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +66
Nearest versions that pass 4.5:1
-
For text on white
#C15152 4.59:1
Darkening its OKLCH lightness from 0.62 to 0.58 reaches 4.59:1 on white, keeping the hue.
-
For text on black
#CD5C5C 5.28:1
It already reaches 5.28:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #CD5C5C live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #CD5C5C
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #CD5C5C sits at step 500.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #CD5C5C can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.248; #CD5C5C uses 58% of it. Display P3, which many recent phones and laptops show, reaches 0.280 there: 13% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.144
- sRGB edge
- 0.248
- Display P3 edge
- 0.280
- Rec. 2020 edge
- 0.326
- Dominant wavelength
- 611 nm
- Excitation purity
- 46%
- Chromaticity
- x 0.4762, y 0.3295
- This color#CD5C5C
- Most vivid in sRGB#F70038
- Most vivid in Display P3oklch(0.615 0.280 22.2)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #cd5c5c;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.9266 0 0.2049); }
}
Mixing
Mixing #CD5C5C
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#E6AEAE
- OKLab50%#EBAEAB
- OKLCH50%#EBAEAB
Black #000000
- sRGB50%#672E2E
- OKLab50%#4E1F1F
- OKLCH50%#4E1F1F
Its complement #0097A0
- sRGB50%#677A7E
- OKLab50%#90807F
- OKLCH50%#8775C9
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #cd5c5c, white);
color: color-mix(in oklch, #cd5c5c 50%, white);
In use
#CD5C5C in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:15.28:1 Passes
- Link and body-size textText, 4.5:13.97:1 Fails
- Large headingLarge text, 3:13.97:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.97:1 Passes
For text on this page, the nearest shade that passes is #C15152 4.59:1
Dark page
- Button labelText, 4.5:15.28:1 Passes
- Link and body-size textText, 4.5:14.71:1 Passes
- Large headingLarge text, 3:14.71:1 Passes
- Icons, borders and focus ringsNon-text, 3:14.71:1 Passes
Color vision
How #CD5C5C looks with color blindness
Deuteranopia changes it most, ΔE2000 32.5; tritanopia changes it least, 5.0.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#77715B ΔE2000 28.9
Distinct
Reads as grayish brown
-
Deuteranopia
No working green (medium-wavelength) cones
#93885A ΔE2000 32.5
Distinct
Reads as muted amber
-
Tritanopia
No working blue (short-wavelength) cones
#DF495D ΔE2000 5.0
Noticeable
Reads as vivid red
-
Achromatopsia
No cone color vision; lightness only
#808080 ΔE2000 24.8
Distinct
Reads as gray
Pairing check
Checked against its complement, #0097A0. Their lightness contrast is only 1.12:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #CD5C5C · #0097A0 | 50.6 | Stays distinct |
| Protanopia | #77715B · #8A90A1 | 22.6 | Stays distinct |
| Deuteranopia | #93885A · #7882A0 | 31.8 | Stays distinct |
| Tritanopia | #DF495D · #009E99 | 60.1 | Stays distinct |
| Achromatopsia | #808080 · #888888 | 2.9 | Easily confused |
Harmony
Color harmonies for #CD5C5C
Its complement is #0097A0, a soft cyan, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#CD5C5C
- Complement#0097A0
Complementary
Open in Harmony Studio- −30°#C45C8D
- Base#CD5C5C
- +30°#C66720
Analogous
Open in Harmony Studio- Base#CD5C5C
- +120°#4B9A45
- +240°#5482DB
Triadic
Open in Harmony Studio- Base#CD5C5C
- +150°#009B7D
- +210°#0091C3
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-indianred: #cd5c5c;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
indianred: '#cd5c5c',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-indianred: oklch(0.615 0.144 22.2);
}
{
"color": {
"indianred": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.8039, 0.3608, 0.3608],
"hex": "#cd5c5c"
},
"$description": "CSS named color indianred"
}
}
}
import SwiftUI
enum Palette {
static let indianred = Color(.sRGB, red: 0.804, green: 0.361, blue: 0.361, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Indianred = Color(0xFFCD5C5C)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #CD5C5C in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.