#AF3151#AF3151
#AF3151 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.162 H 10.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3151 |
|---|---|
| RGB | rgb(175, 49, 81) |
| HSL | hsl(345, 56%, 44%) |
| HSV | hsv(345, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 53.7%, 31.4%) |
| CIE-LAB | lab(41.07, 52.72, 11.23) |
| CIE-LCH | lch(41.07, 53.90, 12.02°) |
| OKLab | oklab(51.27% 0.1599 0.0285) |
| OKLCH | oklch(51.27% 0.162 10.1) |
| XYZ | xyz(20.2645, 11.9074, 9.0143) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.38
Purplish Red
#B0054B
ΔE00 4.26
Raspberry (survey)
#B00149
ΔE00 4.35
Light Maroon
#A24857
ΔE00 4.84
Dark Rose
#B5485D
ΔE00 5.01
Ruby
#CA0147
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3151 #31AF8F
analogous
#AF3190 #AF3151 #AF5031
triadic
#AF3151 #51AF31 #3151AF
tetradic
#AF3151 #90AF31 #31AF8F #5031AF
square
#AF3151 #90AF31 #31AF8F #5031AF
split-complementary
#AF3151 #31AF50 #3190AF
monochromatic
#4F1625 #7F243B #AF3151 #CE4F6F #DB7F97
Accessibility & contrast
On white
6.21
#AF3151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF3151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3151
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3151 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505152
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#BF143E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3151; /* rgb */ color: rgb(175, 49, 81); /* oklch */ color: oklch(51.3% 0.162 10.1);
Tailwind
colors: {
custom: {
50: '#cd7381',
500: '#af3151',
950: '#000000',
},
}SCSS
$custom: #af3151; $custom-light: #cd7381; $custom-dark: #000000;
JSON
{
"hex": "#af3151",
"rgb": {
"r": 175,
"g": 49,
"b": 81
},
"hsl": {
"h": 344.762,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51274,
"c": 0.16244,
"h": 10.1
},
"luminance": 0.11905
}Semantic roles & 50–950 ramp
primary
#AF3151
secondary
#78C4B1
accent
#E0B948
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C