#AF304B#AF304B
#AF304B is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.163 H 12.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304B |
|---|---|
| RGB | rgb(175, 48, 75) |
| HSL | hsl(347, 57%, 44%) |
| HSV | hsv(347, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.80, 52.62, 14.63) |
| CIE-LCH | lch(40.80, 54.61, 15.53°) |
| OKLab | oklab(51.03% 0.1587 0.0365) |
| OKLCH | oklch(51.03% 0.163 12.9) |
| XYZ | xyz(20.0081, 11.7387, 7.8675) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.56
Light Burgundy
#A8415B
ΔE00 4.61
Rose Red
#BE013C
ΔE00 4.70
Raspberry (survey)
#B00149
ΔE00 4.84
Ruby
#CA0147
ΔE00 4.93
Purplish Red
#B0054B
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304B #30AF94
analogous
#AF308A #AF304B #AF5430
triadic
#AF304B #4BAF30 #304BAF
tetradic
#AF304B #8AAF30 #30AF94 #5430AF
square
#AF304B #8AAF30 #30AF94 #5430AF
split-complementary
#AF304B #30AF54 #308AAF
monochromatic
#4F1622 #7F2336 #AF304B #CE4E69 #DC7E92
Accessibility & contrast
On white
6.27
#AF304B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF304B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304B
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304B | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#BF0E3B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304b; /* rgb */ color: rgb(175, 48, 75); /* oklch */ color: oklch(51.0% 0.163 12.9);
Tailwind
colors: {
custom: {
50: '#cd727d',
500: '#af304b',
950: '#000000',
},
}SCSS
$custom: #af304b; $custom-light: #cd727d; $custom-dark: #000000;
JSON
{
"hex": "#af304b",
"rgb": {
"r": 175,
"g": 48,
"b": 75
},
"hsl": {
"h": 347.244,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51029,
"c": 0.16286,
"h": 12.9
},
"luminance": 0.11736
}Semantic roles & 50–950 ramp
primary
#AF304B
secondary
#76C4B4
accent
#E0C048
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B