#AF2D4B#AF2D4B
#AF2D4B is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.166 H 12.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D4B |
|---|---|
| RGB | rgb(175, 45, 75) |
| HSL | hsl(346, 59%, 43%) |
| HSV | hsv(346, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.41, 53.69, 14.10) |
| CIE-LCH | lch(40.41, 55.51, 14.72°) |
| OKLab | oklab(50.74% 0.1622 0.0352) |
| OKLCH | oklch(50.74% 0.166 12.3) |
| XYZ | xyz(19.8895, 11.5016, 7.8279) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.25
Purplish Red
#B0054B
ΔE00 4.34
Rouge
#AB1239
ΔE00 4.42
Light Burgundy
#A8415B
ΔE00 4.66
Rose Red
#BE013C
ΔE00 4.72
Ruby
#CA0147
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D4B #2DAF91
analogous
#AF2D8C #AF2D4B #AF502D
triadic
#AF2D4B #4BAF2D #2D4BAF
tetradic
#AF2D4B #8CAF2D #2DAF91 #502DAF
square
#AF2D4B #8CAF2D #2DAF91 #502DAF
split-complementary
#AF2D4B #2DAF50 #2D8CAF
monochromatic
#4E1421 #7E2036 #AF2D4B #D04968 #DD7A91
Accessibility & contrast
On white
6.36
#AF2D4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2D4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D4B
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D4B | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF0439
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d4b; /* rgb */ color: rgb(175, 45, 75); /* oklch */ color: oklch(50.7% 0.166 12.3);
Tailwind
colors: {
custom: {
50: '#cd717d',
500: '#af2d4b',
950: '#000000',
},
}SCSS
$custom: #af2d4b; $custom-light: #cd717d; $custom-dark: #000000;
JSON
{
"hex": "#af2d4b",
"rgb": {
"r": 175,
"g": 45,
"b": 75
},
"hsl": {
"h": 346.154,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50743,
"c": 0.16594,
"h": 12.3
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#AF2D4B
secondary
#73C5B2
accent
#E2BE46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B