#AF2E3F#AF2E3F
#AF2E3F is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.165 H 18.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E3F |
|---|---|
| RGB | rgb(175, 46, 63) |
| HSL | hsl(352, 58%, 43%) |
| HSV | hsv(352, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 64%, 31.4%) |
| CIE-LAB | lab(40.30, 52.52, 21.47) |
| CIE-LCH | lch(40.30, 56.74, 22.23°) |
| OKLab | oklab(50.58% 0.1563 0.0516) |
| OKLCH | oklch(50.58% 0.165 18.3) |
| XYZ | xyz(19.5554, 11.4297, 5.8781) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.65
Rouge
#AB1239
ΔE00 3.78
Cardinal
#C41E3A
ΔE00 4.08
Lipstick Red
#C0022F
ΔE00 4.77
Ruby
#CA0147
ΔE00 5.53
Dull Red
#BB3F3F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E3F #2EAF9E
analogous
#AF2E7F #AF2E3F #AF5D2E
triadic
#AF2E3F #3FAF2E #2E3FAF
tetradic
#AF2E3F #7FAF2E #2EAF9E #5D2EAF
square
#AF2E3F #7FAF2E #2EAF9E #5D2EAF
split-complementary
#AF2E3F #2EAF5D #2E7FAF
monochromatic
#4E151C #7F212E #AF2E3F #D04B5C #DC7B88
Accessibility & contrast
On white
6.39
#AF2E3F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2E3F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E3F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E3F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#72693B
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e3f; /* rgb */ color: rgb(175, 46, 63); /* oklch */ color: oklch(50.6% 0.165 18.3);
Tailwind
colors: {
custom: {
50: '#ce7173',
500: '#af2e3f',
950: '#000000',
},
}SCSS
$custom: #af2e3f; $custom-light: #ce7173; $custom-dark: #000000;
JSON
{
"hex": "#af2e3f",
"rgb": {
"r": 175,
"g": 46,
"b": 63
},
"hsl": {
"h": 352.093,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50577,
"c": 0.16454,
"h": 18.3
},
"luminance": 0.11427
}Semantic roles & 50–950 ramp
primary
#AF2E3F
secondary
#74C5BA
accent
#E2CD46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B