#AF3351#AF3351
#AF3351 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.160 H 10.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3351 |
|---|---|
| RGB | rgb(175, 51, 81) |
| HSL | hsl(345, 55%, 44%) |
| HSV | hsv(345, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 53.7%, 31.4%) |
| CIE-LAB | lab(41.34, 51.96, 11.60) |
| CIE-LCH | lch(41.34, 53.24, 12.59°) |
| OKLab | oklab(51.48% 0.1575 0.0295) |
| OKLCH | oklch(51.48% 0.16 10.6) |
| XYZ | xyz(20.3500, 12.0785, 9.0428) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.27
Light Maroon
#A24857
ΔE00 4.55
Purplish Red
#B0054B
ΔE00 4.65
Dark Rose
#B5485D
ΔE00 4.69
Raspberry (survey)
#B00149
ΔE00 4.72
Ruby
#CA0147
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3351 #33AF91
analogous
#AF338F #AF3351 #AF5333
triadic
#AF3351 #51AF33 #3351AF
tetradic
#AF3351 #8FAF33 #33AF91 #5333AF
square
#AF3351 #8FAF33 #33AF91 #5333AF
split-complementary
#AF3351 #33AF53 #338FAF
monochromatic
#501725 #80253B #AF3351 #CD5270 #DB8297
Accessibility & contrast
On white
6.15
#AF3351 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF3351 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3351
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3351 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3351 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515151
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#BF183F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3351; /* rgb */ color: rgb(175, 51, 81); /* oklch */ color: oklch(51.5% 0.160 10.6);
Tailwind
colors: {
custom: {
50: '#cd7481',
500: '#af3351',
950: '#000000',
},
}SCSS
$custom: #af3351; $custom-light: #cd7481; $custom-dark: #000000;
JSON
{
"hex": "#af3351",
"rgb": {
"r": 175,
"g": 51,
"b": 81
},
"hsl": {
"h": 345.484,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51476,
"c": 0.16022,
"h": 10.6
},
"luminance": 0.12076
}Semantic roles & 50–950 ramp
primary
#AF3351
secondary
#7AC4B2
accent
#DEBA4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C