#AF2E3B#AF2E3B
#AF2E3B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 20.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E3B |
|---|---|
| RGB | rgb(175, 46, 59) |
| HSL | hsl(354, 58%, 43%) |
| HSV | hsv(354, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 66.3%, 31.4%) |
| CIE-LAB | lab(40.22, 52.29, 23.86) |
| CIE-LCH | lch(40.22, 57.48, 24.53°) |
| OKLab | oklab(50.5% 0.1547 0.0566) |
| OKLCH | oklch(50.5% 0.165 20.1) |
| XYZ | xyz(19.4477, 11.3866, 5.3106) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 4.06
Rose Red
#BE013C
ΔE00 4.20
Rouge
#AB1239
ΔE00 4.42
Brown
#A52A2A
ΔE00 4.75
Dull Red
#BB3F3F
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E3B #2EAFA2
analogous
#AF2E7C #AF2E3B #AF612E
triadic
#AF2E3B #3BAF2E #2E3BAF
tetradic
#AF2E3B #7CAF2E #2EAFA2 #612EAF
square
#AF2E3B #7CAF2E #2EAFA2 #612EAF
split-complementary
#AF2E3B #2EAF61 #2E7CAF
monochromatic
#4E151A #7F212B #AF2E3B #D04B58 #DC7B85
Accessibility & contrast
On white
6.41
#AF2E3B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2E3B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E3B
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E3B | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524D3B
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e3b; /* rgb */ color: rgb(175, 46, 59); /* oklch */ color: oklch(50.5% 0.165 20.1);
Tailwind
colors: {
custom: {
50: '#ce7170',
500: '#af2e3b',
950: '#000000',
},
}SCSS
$custom: #af2e3b; $custom-light: #ce7170; $custom-dark: #000000;
JSON
{
"hex": "#af2e3b",
"rgb": {
"r": 175,
"g": 46,
"b": 59
},
"hsl": {
"h": 353.953,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50501,
"c": 0.16468,
"h": 20.1
},
"luminance": 0.11384
}Semantic roles & 50–950 ramp
primary
#AF2E3B
secondary
#74C5BD
accent
#E2D246
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A