#AF2C4B#AF2C4B
#AF2C4B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.167 H 12.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C4B |
|---|---|
| RGB | rgb(175, 44, 75) |
| HSL | hsl(346, 60%, 43%) |
| HSV | hsv(346, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.29, 54.03, 13.93) |
| CIE-LCH | lch(40.29, 55.80, 14.46°) |
| OKLab | oklab(50.65% 0.1633 0.0348) |
| OKLCH | oklch(50.65% 0.167 12) |
| XYZ | xyz(19.8518, 11.4262, 7.8154) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.06
Purplish Red
#B0054B
ΔE00 4.15
Rouge
#AB1239
ΔE00 4.39
Light Burgundy
#A8415B
ΔE00 4.69
Rose Red
#BE013C
ΔE00 4.74
Ruby
#CA0147
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C4B #2CAF90
analogous
#AF2C8C #AF2C4B #AF4F2C
triadic
#AF2C4B #4BAF2C #2C4BAF
tetradic
#AF2C4B #8CAF2C #2CAF90 #4F2CAF
square
#AF2C4B #8CAF2C #2CAF90 #4F2CAF
split-complementary
#AF2C4B #2CAF4F #2C8CAF
monochromatic
#4D1321 #7E2036 #AF2C4B #D14768 #DD7890
Accessibility & contrast
On white
6.39
#AF2C4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2C4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C4B
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C4B | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#706948
Tritanopia (blue-blind)
#BF0139
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c4b; /* rgb */ color: rgb(175, 44, 75); /* oklch */ color: oklch(50.7% 0.167 12.0);
Tailwind
colors: {
custom: {
50: '#cd707d',
500: '#af2c4b',
950: '#000000',
},
}SCSS
$custom: #af2c4b; $custom-light: #cd707d; $custom-dark: #000000;
JSON
{
"hex": "#af2c4b",
"rgb": {
"r": 175,
"g": 44,
"b": 75
},
"hsl": {
"h": 345.802,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50652,
"c": 0.16694,
"h": 12
},
"luminance": 0.11423
}Semantic roles & 50–950 ramp
primary
#AF2C4B
secondary
#72C5B1
accent
#E3BE45
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B