#AF304F#AF304F
#AF304F is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.163 H 10.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304F |
|---|---|
| RGB | rgb(175, 48, 79) |
| HSL | hsl(345, 57%, 44%) |
| HSV | hsv(345, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 54.9%, 31.4%) |
| CIE-LAB | lab(40.89, 52.92, 12.24) |
| CIE-LCH | lch(40.89, 54.32, 13.02°) |
| OKLab | oklab(51.13% 0.1603 0.0309) |
| OKLCH | oklch(51.13% 0.163 10.9) |
| XYZ | xyz(20.1493, 11.7952, 8.6113) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.77
Purplish Red
#B0054B
ΔE00 4.28
Raspberry (survey)
#B00149
ΔE00 4.31
Light Maroon
#A24857
ΔE00 4.95
Dark Rose
#B5485D
ΔE00 5.17
Ruby
#CA0147
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304F #30AF90
analogous
#AF308E #AF304F #AF5030
triadic
#AF304F #4FAF30 #304FAF
tetradic
#AF304F #8EAF30 #30AF90 #5030AF
square
#AF304F #8EAF30 #30AF90 #5030AF
split-complementary
#AF304F #30AF50 #308EAF
monochromatic
#4F1624 #7F2339 #AF304F #CE4E6D #DC7E95
Accessibility & contrast
On white
6.25
#AF304F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF304F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304F
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304F | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#BF113D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304f; /* rgb */ color: rgb(175, 48, 79); /* oklch */ color: oklch(51.1% 0.163 10.9);
Tailwind
colors: {
custom: {
50: '#cd7280',
500: '#af304f',
950: '#000000',
},
}SCSS
$custom: #af304f; $custom-light: #cd7280; $custom-dark: #000000;
JSON
{
"hex": "#af304f",
"rgb": {
"r": 175,
"g": 48,
"b": 79
},
"hsl": {
"h": 345.354,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51126,
"c": 0.16325,
"h": 10.9
},
"luminance": 0.11792
}Semantic roles & 50–950 ramp
primary
#AF304F
secondary
#76C4B1
accent
#E0BB48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C