#AF2D46#AF2D46
#AF2D46 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.166 H 14.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D46 |
|---|---|
| RGB | rgb(175, 45, 70) |
| HSL | hsl(348, 59%, 43%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 60%, 31.4%) |
| CIE-LAB | lab(40.30, 53.33, 17.10) |
| CIE-LCH | lch(40.30, 56.01, 17.78°) |
| OKLab | oklab(50.63% 0.1602 0.042) |
| OKLCH | oklch(50.63% 0.166 14.7) |
| XYZ | xyz(19.7250, 11.4358, 6.9618) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.60
Rose Red
#BE013C
ΔE00 3.78
Ruby
#CA0147
ΔE00 4.75
Raspberry (survey)
#B00149
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.48
Cardinal
#C41E3A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D46 #2DAF96
analogous
#AF2D87 #AF2D46 #AF552D
triadic
#AF2D46 #46AF2D #2D46AF
tetradic
#AF2D46 #87AF2D #2DAF96 #552DAF
square
#AF2D46 #87AF2D #2DAF96 #552DAF
split-complementary
#AF2D46 #2DAF55 #2D87AF
monochromatic
#4E141F #7E2033 #AF2D46 #D04963 #DD7A8D
Accessibility & contrast
On white
6.39
#AF2D46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2D46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D46
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D46 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504E46
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d46; /* rgb */ color: rgb(175, 45, 70); /* oklch */ color: oklch(50.6% 0.166 14.7);
Tailwind
colors: {
custom: {
50: '#ce7179',
500: '#af2d46',
950: '#000000',
},
}SCSS
$custom: #af2d46; $custom-light: #ce7179; $custom-dark: #000000;
JSON
{
"hex": "#af2d46",
"rgb": {
"r": 175,
"g": 45,
"b": 70
},
"hsl": {
"h": 348.462,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50628,
"c": 0.1656,
"h": 14.7
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#AF2D46
secondary
#73C5B5
accent
#E2C446
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B