#AF304E#AF304E
#AF304E is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.163 H 11.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304E |
|---|---|
| RGB | rgb(175, 48, 78) |
| HSL | hsl(346, 57%, 44%) |
| HSV | hsv(346, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.87, 52.85, 12.83) |
| CIE-LCH | lch(40.87, 54.38, 13.65°) |
| OKLab | oklab(51.1% 0.1599 0.0323) |
| OKLCH | oklch(51.1% 0.163 11.4) |
| XYZ | xyz(20.1132, 11.7807, 8.4210) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.96
Raspberry (survey)
#B00149
ΔE00 4.41
Purplish Red
#B0054B
ΔE00 4.42
Light Maroon
#A24857
ΔE00 4.96
Rouge
#AB1239
ΔE00 5.15
Dark Rose
#B5485D
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304E #30AF91
analogous
#AF308D #AF304E #AF5130
triadic
#AF304E #4EAF30 #304EAF
tetradic
#AF304E #8DAF30 #30AF91 #5130AF
square
#AF304E #8DAF30 #30AF91 #5130AF
split-complementary
#AF304E #30AF51 #308DAF
monochromatic
#4F1623 #7F2339 #AF304E #CE4E6C #DC7E94
Accessibility & contrast
On white
6.26
#AF304E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF304E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304E
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304E | 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)
#50504E
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#BF103C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304e; /* rgb */ color: rgb(175, 48, 78); /* oklch */ color: oklch(51.1% 0.163 11.4);
Tailwind
colors: {
custom: {
50: '#cd727f',
500: '#af304e',
950: '#000000',
},
}SCSS
$custom: #af304e; $custom-light: #cd727f; $custom-dark: #000000;
JSON
{
"hex": "#af304e",
"rgb": {
"r": 175,
"g": 48,
"b": 78
},
"hsl": {
"h": 345.827,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51101,
"c": 0.16314,
"h": 11.4
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#AF304E
secondary
#76C4B2
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C