#AF3451#AF3451
#AF3451 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.6% C 0.159 H 10.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3451 |
|---|---|
| RGB | rgb(175, 52, 81) |
| HSL | hsl(346, 54%, 45%) |
| HSV | hsv(346, 70%, 69%) |
| CMYK | cmyk(0%, 70.3%, 53.7%, 31.4%) |
| CIE-LAB | lab(41.48, 51.58, 11.80) |
| CIE-LCH | lch(41.48, 52.91, 12.88°) |
| OKLab | oklab(51.58% 0.1563 0.0299) |
| OKLCH | oklch(51.58% 0.159 10.8) |
| XYZ | xyz(20.3942, 12.1668, 9.0575) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.23
Light Maroon
#A24857
ΔE00 4.41
Dark Rose
#B5485D
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 4.92
Ruby
#CA0147
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3451 #34AF92
analogous
#AF348E #AF3451 #AF5534
triadic
#AF3451 #51AF34 #3451AF
tetradic
#AF3451 #8EAF34 #34AF92 #5534AF
square
#AF3451 #8EAF34 #34AF92 #5534AF
split-complementary
#AF3451 #34AF55 #348EAF
monochromatic
#511825 #80263B #AF3451 #CC5470 #DA8398
Accessibility & contrast
On white
6.12
#AF3451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF3451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3451
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3451 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#BF1A40
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3451; /* rgb */ color: rgb(175, 52, 81); /* oklch */ color: oklch(51.6% 0.159 10.8);
Tailwind
colors: {
custom: {
50: '#cd7481',
500: '#af3451',
950: '#000000',
},
}SCSS
$custom: #af3451; $custom-light: #cd7481; $custom-dark: #000000;
JSON
{
"hex": "#af3451",
"rgb": {
"r": 175,
"g": 52,
"b": 81
},
"hsl": {
"h": 345.854,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.5158,
"c": 0.1591,
"h": 10.8
},
"luminance": 0.12164
}Semantic roles & 50–950 ramp
primary
#AF3451
secondary
#7BC4B3
accent
#DEBB4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C