#AF233E#AF233E
#AF233E is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.174 H 16.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF233E |
|---|---|
| RGB | rgb(175, 35, 62) |
| HSL | hsl(348, 67%, 41%) |
| HSV | hsv(348, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 64.6%, 31.4%) |
| CIE-LAB | lab(39.01, 56.00, 20.44) |
| CIE-LCH | lch(39.01, 59.62, 20.05°) |
| OKLab | oklab(49.62% 0.1672 0.0491) |
| OKLCH | oklch(49.62% 0.174 16.4) |
| XYZ | xyz(19.1518, 10.6667, 5.6069) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.10
Rose Red
#BE013C
ΔE00 2.75
Cardinal
#C41E3A
ΔE00 4.83
Ruby
#CA0147
ΔE00 5.00
Lipstick Red
#C0022F
ΔE00 5.14
Raspberry (survey)
#B00149
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF233E #23AF94
analogous
#AF2384 #AF233E #AF4E23
triadic
#AF233E #3EAF23 #233EAF
tetradic
#AF233E #84AF23 #23AF94 #4E23AF
square
#AF233E #84AF23 #23AF94 #4E23AF
split-complementary
#AF233E #23AF4E #2384AF
monochromatic
#490F1A #7C192C #AF233E #D73857 #E16B82
Accessibility & contrast
On white
6.70
#AF233E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF233E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF233E
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF233E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF233E | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493E
Deuteranopia (green-blind)
#70663A
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af233e; /* rgb */ color: rgb(175, 35, 62); /* oklch */ color: oklch(49.6% 0.174 16.4);
Tailwind
colors: {
custom: {
50: '#cf6c73',
500: '#af233e',
950: '#000000',
},
}SCSS
$custom: #af233e; $custom-light: #cf6c73; $custom-dark: #000000;
JSON
{
"hex": "#af233e",
"rgb": {
"r": 175,
"g": 35,
"b": 62
},
"hsl": {
"h": 348.429,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49621,
"c": 0.17427,
"h": 16.4
},
"luminance": 0.10664
}Semantic roles & 50–950 ramp
primary
#AF233E
secondary
#66C7B5
accent
#EAC93E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B