#AF2E4C#AF2E4C
#AF2E4C is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 12.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E4C |
|---|---|
| RGB | rgb(175, 46, 76) |
| HSL | hsl(346, 58%, 43%) |
| HSV | hsv(346, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 56.6%, 31.4%) |
| CIE-LAB | lab(40.56, 53.41, 13.67) |
| CIE-LCH | lch(40.56, 55.13, 14.36°) |
| OKLab | oklab(50.86% 0.1614 0.0343) |
| OKLCH | oklch(50.86% 0.165 12) |
| XYZ | xyz(19.9626, 11.5926, 8.0225) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.28
Purplish Red
#B0054B
ΔE00 4.35
Light Burgundy
#A8415B
ΔE00 4.43
Rouge
#AB1239
ΔE00 4.66
Rose Red
#BE013C
ΔE00 4.92
Ruby
#CA0147
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E4C #2EAF91
analogous
#AF2E8C #AF2E4C #AF512E
triadic
#AF2E4C #4CAF2E #2E4CAF
tetradic
#AF2E4C #8CAF2E #2EAF91 #512EAF
square
#AF2E4C #8CAF2E #2EAF91 #512EAF
split-complementary
#AF2E4C #2EAF51 #2E8CAF
monochromatic
#4E1522 #7F2137 #AF2E4C #D04B6A #DC7B92
Accessibility & contrast
On white
6.33
#AF2E4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2E4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E4C
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E4C | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#716949
Tritanopia (blue-blind)
#BF083A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e4c; /* rgb */ color: rgb(175, 46, 76); /* oklch */ color: oklch(50.9% 0.165 12.0);
Tailwind
colors: {
custom: {
50: '#cd717d',
500: '#af2e4c',
950: '#000000',
},
}SCSS
$custom: #af2e4c; $custom-light: #cd717d; $custom-dark: #000000;
JSON
{
"hex": "#af2e4c",
"rgb": {
"r": 175,
"g": 46,
"b": 76
},
"hsl": {
"h": 346.047,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5086,
"c": 0.16502,
"h": 12
},
"luminance": 0.1159
}Semantic roles & 50–950 ramp
primary
#AF2E4C
secondary
#74C5B2
accent
#E2BD46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B