#AF233D#AF233D
#AF233D is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.174 H 16.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF233D |
|---|---|
| RGB | rgb(175, 35, 61) |
| HSL | hsl(349, 67%, 41%) |
| HSV | hsv(349, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 65.1%, 31.4%) |
| CIE-LAB | lab(38.99, 55.94, 21.05) |
| CIE-LCH | lch(38.99, 59.77, 20.62°) |
| OKLab | oklab(49.6% 0.1668 0.0504) |
| OKLCH | oklch(49.6% 0.174 16.8) |
| XYZ | xyz(19.1246, 10.6559, 5.4638) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.17
Rose Red
#BE013C
ΔE00 2.75
Cardinal
#C41E3A
ΔE00 4.65
Lipstick Red
#C0022F
ΔE00 4.88
Ruby
#CA0147
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF233D #23AF95
analogous
#AF2383 #AF233D #AF4F23
triadic
#AF233D #3DAF23 #233DAF
tetradic
#AF233D #83AF23 #23AF95 #4F23AF
square
#AF233D #83AF23 #23AF95 #4F23AF
split-complementary
#AF233D #23AF4F #2383AF
monochromatic
#490F19 #7C192B #AF233D #D73856 #E16B81
Accessibility & contrast
On white
6.71
#AF233D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF233D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF233D
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF233D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF233D | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D493D
Deuteranopia (green-blind)
#706639
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af233d; /* rgb */ color: rgb(175, 35, 61); /* oklch */ color: oklch(49.6% 0.174 16.8);
Tailwind
colors: {
custom: {
50: '#cf6c72',
500: '#af233d',
950: '#000000',
},
}SCSS
$custom: #af233d; $custom-light: #cf6c72; $custom-dark: #000000;
JSON
{
"hex": "#af233d",
"rgb": {
"r": 175,
"g": 35,
"b": 61
},
"hsl": {
"h": 348.857,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49601,
"c": 0.17427,
"h": 16.8
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#AF233D
secondary
#66C7B5
accent
#EACA3E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A