#AF2E43#AF2E43
#AF2E43 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 16.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E43 |
|---|---|
| RGB | rgb(175, 46, 67) |
| HSL | hsl(350, 58%, 43%) |
| HSV | hsv(350, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 61.7%, 31.4%) |
| CIE-LAB | lab(40.37, 52.78, 19.07) |
| CIE-LCH | lch(40.37, 56.12, 19.87°) |
| OKLab | oklab(50.66% 0.1578 0.0464) |
| OKLCH | oklch(50.66% 0.165 16.4) |
| XYZ | xyz(19.6713, 11.4761, 6.4884) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.55
Rose Red
#BE013C
ΔE00 3.56
Cardinal
#C41E3A
ΔE00 4.78
Ruby
#CA0147
ΔE00 4.98
Lipstick Red
#C0022F
ΔE00 5.72
Dusty Red
#B9484E
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E43 #2EAF9A
analogous
#AF2E83 #AF2E43 #AF5A2E
triadic
#AF2E43 #43AF2E #2E43AF
tetradic
#AF2E43 #83AF2E #2EAF9A #5A2EAF
square
#AF2E43 #83AF2E #2EAF9A #5A2EAF
split-complementary
#AF2E43 #2EAF5A #2E83AF
monochromatic
#4E151E #7F2130 #AF2E43 #D04B60 #DC7B8B
Accessibility & contrast
On white
6.37
#AF2E43 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2E43 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E43
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E43 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E43
Deuteranopia (green-blind)
#726940
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e43; /* rgb */ color: rgb(175, 46, 67); /* oklch */ color: oklch(50.7% 0.165 16.4);
Tailwind
colors: {
custom: {
50: '#ce7176',
500: '#af2e43',
950: '#000000',
},
}SCSS
$custom: #af2e43; $custom-light: #ce7176; $custom-dark: #000000;
JSON
{
"hex": "#af2e43",
"rgb": {
"r": 175,
"g": 46,
"b": 67
},
"hsl": {
"h": 350.233,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50658,
"c": 0.16452,
"h": 16.4
},
"luminance": 0.11473
}Semantic roles & 50–950 ramp
primary
#AF2E43
secondary
#74C5B8
accent
#E2C846
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B