#AF2E4E#AF2E4E
#AF2E4E is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 11.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E4E |
|---|---|
| RGB | rgb(175, 46, 78) |
| HSL | hsl(345, 58%, 43%) |
| HSV | hsv(345, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.61, 53.56, 12.48) |
| CIE-LCH | lch(40.61, 55.00, 13.11°) |
| OKLab | oklab(50.91% 0.1622 0.0315) |
| OKLCH | oklch(50.91% 0.165 11) |
| XYZ | xyz(20.0332, 11.6208, 8.3944) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.03
Raspberry (survey)
#B00149
ΔE00 4.03
Light Burgundy
#A8415B
ΔE00 4.05
Rouge
#AB1239
ΔE00 5.10
Light Maroon
#A24857
ΔE00 5.22
Ruby
#CA0147
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E4E #2EAF8F
analogous
#AF2E8E #AF2E4E #AF4E2E
triadic
#AF2E4E #4EAF2E #2E4EAF
tetradic
#AF2E4E #8EAF2E #2EAF8F #4E2EAF
square
#AF2E4E #8EAF2E #2EAF8F #4E2EAF
split-complementary
#AF2E4E #2EAF4E #2E8EAF
monochromatic
#4E1523 #7F2138 #AF2E4E #D04B6C #DC7B93
Accessibility & contrast
On white
6.32
#AF2E4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2E4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E4E
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E4E | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4E
Deuteranopia (green-blind)
#71694B
Tritanopia (blue-blind)
#BF0A3B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e4e; /* rgb */ color: rgb(175, 46, 78); /* oklch */ color: oklch(50.9% 0.165 11.0);
Tailwind
colors: {
custom: {
50: '#cd717f',
500: '#af2e4e',
950: '#000000',
},
}SCSS
$custom: #af2e4e; $custom-light: #cd717f; $custom-dark: #000000;
JSON
{
"hex": "#af2e4e",
"rgb": {
"r": 175,
"g": 46,
"b": 78
},
"hsl": {
"h": 345.116,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50909,
"c": 0.16524,
"h": 11
},
"luminance": 0.11618
}Semantic roles & 50–950 ramp
primary
#AF2E4E
secondary
#74C5B1
accent
#E2BB46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C