#AF304C#AF304C
#AF304C is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.1% C 0.163 H 12.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304C |
|---|---|
| RGB | rgb(175, 48, 76) |
| HSL | hsl(347, 57%, 44%) |
| HSV | hsv(347, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 56.6%, 31.4%) |
| CIE-LAB | lab(40.82, 52.69, 14.03) |
| CIE-LCH | lch(40.82, 54.53, 14.91°) |
| OKLab | oklab(51.05% 0.1591 0.0351) |
| OKLCH | oklch(51.05% 0.163 12.4) |
| XYZ | xyz(20.0426, 11.7525, 8.0491) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.68
Rouge
#AB1239
ΔE00 4.74
Purplish Red
#B0054B
ΔE00 4.75
Rose Red
#BE013C
ΔE00 4.91
Ruby
#CA0147
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304C #30AF93
analogous
#AF308B #AF304C #AF5330
triadic
#AF304C #4CAF30 #304CAF
tetradic
#AF304C #8BAF30 #30AF93 #5330AF
square
#AF304C #8BAF30 #30AF93 #5330AF
split-complementary
#AF304C #30AF53 #308BAF
monochromatic
#4F1622 #7F2337 #AF304C #CE4E6A #DC7E92
Accessibility & contrast
On white
6.27
#AF304C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF304C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304C
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304C | 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)
#51504C
Deuteranopia (green-blind)
#716A49
Tritanopia (blue-blind)
#BF0E3B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304c; /* rgb */ color: rgb(175, 48, 76); /* oklch */ color: oklch(51.1% 0.163 12.4);
Tailwind
colors: {
custom: {
50: '#cd727d',
500: '#af304c',
950: '#000000',
},
}SCSS
$custom: #af304c; $custom-light: #cd727d; $custom-dark: #000000;
JSON
{
"hex": "#af304c",
"rgb": {
"r": 175,
"g": 48,
"b": 76
},
"hsl": {
"h": 346.772,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51052,
"c": 0.16294,
"h": 12.4
},
"luminance": 0.1175
}Semantic roles & 50–950 ramp
primary
#AF304C
secondary
#76C4B3
accent
#E0BF48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B