#AF2C46#AF2C46
#AF2C46 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 14.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C46 |
|---|---|
| RGB | rgb(175, 44, 70) |
| HSL | hsl(348, 60%, 43%) |
| HSV | hsv(348, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 60%, 31.4%) |
| CIE-LAB | lab(40.18, 53.68, 16.94) |
| CIE-LCH | lch(40.18, 56.29, 17.51°) |
| OKLab | oklab(50.54% 0.1613 0.0417) |
| OKLCH | oklch(50.54% 0.167 14.5) |
| XYZ | xyz(19.6873, 11.3604, 6.9493) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.51
Rose Red
#BE013C
ΔE00 3.75
Ruby
#CA0147
ΔE00 4.72
Raspberry (survey)
#B00149
ΔE00 5.08
Purplish Red
#B0054B
ΔE00 5.29
Cardinal
#C41E3A
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C46 #2CAF95
analogous
#AF2C87 #AF2C46 #AF542C
triadic
#AF2C46 #46AF2C #2C46AF
tetradic
#AF2C46 #87AF2C #2CAF95 #542CAF
square
#AF2C46 #87AF2C #2CAF95 #542CAF
split-complementary
#AF2C46 #2CAF54 #2C87AF
monochromatic
#4D131F #7E2032 #AF2C46 #D14763 #DD788C
Accessibility & contrast
On white
6.42
#AF2C46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2C46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C46
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C46 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D46
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c46; /* rgb */ color: rgb(175, 44, 70); /* oklch */ color: oklch(50.5% 0.167 14.5);
Tailwind
colors: {
custom: {
50: '#ce7079',
500: '#af2c46',
950: '#000000',
},
}SCSS
$custom: #af2c46; $custom-light: #ce7079; $custom-dark: #000000;
JSON
{
"hex": "#af2c46",
"rgb": {
"r": 175,
"g": 44,
"b": 70
},
"hsl": {
"h": 348.092,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50536,
"c": 0.16657,
"h": 14.5
},
"luminance": 0.11358
}Semantic roles & 50–950 ramp
primary
#AF2C46
secondary
#72C5B5
accent
#E3C445
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B