#AF2D4C#AF2D4C
#AF2D4C is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.8% C 0.166 H 11.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D4C |
|---|---|
| RGB | rgb(175, 45, 76) |
| HSL | hsl(346, 59%, 43%) |
| HSV | hsv(346, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 56.6%, 31.4%) |
| CIE-LAB | lab(40.44, 53.76, 13.50) |
| CIE-LCH | lch(40.44, 55.43, 14.10°) |
| OKLab | oklab(50.77% 0.1626 0.0338) |
| OKLCH | oklch(50.77% 0.166 11.8) |
| XYZ | xyz(19.9240, 11.5154, 8.0096) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.09
Purplish Red
#B0054B
ΔE00 4.15
Light Burgundy
#A8415B
ΔE00 4.46
Rouge
#AB1239
ΔE00 4.63
Rose Red
#BE013C
ΔE00 4.95
Ruby
#CA0147
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D4C #2DAF90
analogous
#AF2D8D #AF2D4C #AF4F2D
triadic
#AF2D4C #4CAF2D #2D4CAF
tetradic
#AF2D4C #8DAF2D #2DAF90 #4F2DAF
square
#AF2D4C #8DAF2D #2DAF90 #4F2DAF
split-complementary
#AF2D4C #2DAF4F #2D8DAF
monochromatic
#4E1422 #7E2037 #AF2D4C #D04969 #DD7A91
Accessibility & contrast
On white
6.36
#AF2D4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2D4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D4C
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D4C | 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)
#4F4E4C
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#BF053A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d4c; /* rgb */ color: rgb(175, 45, 76); /* oklch */ color: oklch(50.8% 0.166 11.8);
Tailwind
colors: {
custom: {
50: '#cd717d',
500: '#af2d4c',
950: '#000000',
},
}SCSS
$custom: #af2d4c; $custom-light: #cd717d; $custom-dark: #000000;
JSON
{
"hex": "#af2d4c",
"rgb": {
"r": 175,
"g": 45,
"b": 76
},
"hsl": {
"h": 345.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50767,
"c": 0.16604,
"h": 11.8
},
"luminance": 0.11513
}Semantic roles & 50–950 ramp
primary
#AF2D4C
secondary
#73C5B1
accent
#E2BD46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B