#AF3148#AF3148
#AF3148 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.162 H 14.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3148 |
|---|---|
| RGB | rgb(175, 49, 72) |
| HSL | hsl(349, 56%, 44%) |
| HSV | hsv(349, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 58.9%, 31.4%) |
| CIE-LAB | lab(40.87, 52.03, 16.60) |
| CIE-LCH | lch(40.87, 54.61, 17.70°) |
| OKLab | oklab(51.06% 0.1563 0.041) |
| OKLCH | oklch(51.06% 0.162 14.7) |
| XYZ | xyz(19.9491, 11.7813, 7.3532) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 4.22
Rouge
#AB1239
ΔE00 4.22
Ruby
#CA0147
ΔE00 4.89
Light Maroon
#A24857
ΔE00 5.34
Light Burgundy
#A8415B
ΔE00 5.39
Raspberry (survey)
#B00149
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3148 #31AF98
analogous
#AF3187 #AF3148 #AF5931
triadic
#AF3148 #48AF31 #3148AF
tetradic
#AF3148 #87AF31 #31AF98 #5931AF
square
#AF3148 #87AF31 #31AF98 #5931AF
split-complementary
#AF3148 #31AF59 #3187AF
monochromatic
#4F1621 #7F2434 #AF3148 #CE4F66 #DB7F90
Accessibility & contrast
On white
6.26
#AF3148 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF3148 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3148
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3148 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525048
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#C00E3A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3148; /* rgb */ color: rgb(175, 49, 72); /* oklch */ color: oklch(51.1% 0.162 14.7);
Tailwind
colors: {
custom: {
50: '#cd737a',
500: '#af3148',
950: '#000000',
},
}SCSS
$custom: #af3148; $custom-light: #cd737a; $custom-dark: #000000;
JSON
{
"hex": "#af3148",
"rgb": {
"r": 175,
"g": 49,
"b": 72
},
"hsl": {
"h": 349.048,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51059,
"c": 0.16162,
"h": 14.7
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#AF3148
secondary
#78C4B6
accent
#E0C448
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B