#AF2236#AF2236
#AF2236 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 19.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2236 |
|---|---|
| RGB | rgb(175, 34, 54) |
| HSL | hsl(351, 67%, 41%) |
| HSV | hsv(351, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 69.1%, 31.4%) |
| CIE-LAB | lab(38.77, 55.85, 25.16) |
| CIE-LCH | lch(38.77, 61.25, 24.25°) |
| OKLab | oklab(49.4% 0.165 0.0588) |
| OKLCH | oklch(49.4% 0.175 19.6) |
| XYZ | xyz(18.9192, 10.5273, 4.5251) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.37
Lipstick Red
#C0022F
ΔE00 3.43
Rose Red
#BE013C
ΔE00 3.58
Cardinal
#C41E3A
ΔE00 4.03
Brown
#A52A2A
ΔE00 4.57
Cherry (survey)
#CF0234
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2236 #22AF9B
analogous
#AF227C #AF2236 #AF5422
triadic
#AF2236 #36AF22 #2236AF
tetradic
#AF2236 #7CAF22 #22AF9B #5422AF
square
#AF2236 #7CAF22 #22AF9B #5422AF
split-complementary
#AF2236 #22AF54 #227CAF
monochromatic
#490E16 #7C1826 #AF2236 #D8364D #E2697B
Accessibility & contrast
On white
6.76
#AF2236 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AF2236 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2236
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2236 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4836
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af2236; /* rgb */ color: rgb(175, 34, 54); /* oklch */ color: oklch(49.4% 0.175 19.6);
Tailwind
colors: {
custom: {
50: '#cf6c6d',
500: '#af2236',
950: '#000000',
},
}SCSS
$custom: #af2236; $custom-light: #cf6c6d; $custom-dark: #000000;
JSON
{
"hex": "#af2236",
"rgb": {
"r": 175,
"g": 34,
"b": 54
},
"hsl": {
"h": 351.489,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49397,
"c": 0.17514,
"h": 19.6
},
"luminance": 0.10524
}Semantic roles & 50–950 ramp
primary
#AF2236
secondary
#65C8BA
accent
#EAD23D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A