#AF3862#AF3862
#AF3862 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.158 H 2.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3862 |
|---|---|
| RGB | rgb(175, 56, 98) |
| HSL | hsl(339, 52%, 45%) |
| HSV | hsv(339, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 44%, 31.4%) |
| CIE-LAB | lab(42.50, 51.54, 2.62) |
| CIE-LCH | lch(42.50, 51.61, 2.91°) |
| OKLab | oklab(52.48% 0.1576 0.0073) |
| OKLCH | oklch(52.48% 0.158 2.7) |
| XYZ | xyz(21.2995, 12.8268, 12.9071) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.31
Deep Pink
#CB0162
ΔE00 5.32
Dark Rose
#B5485D
ΔE00 5.89
Light Maroon
#A24857
ΔE00 6.14
Purplish Red
#B0054B
ΔE00 6.27
Raspberry (survey)
#B00149
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3862 #38AF85
analogous
#AF389D #AF3862 #AF4A38
triadic
#AF3862 #62AF38 #3862AF
tetradic
#AF3862 #9DAF38 #38AF85 #4A38AF
square
#AF3862 #9DAF38 #38AF85 #4A38AF
split-complementary
#AF3862 #38AF4A #389DAF
monochromatic
#521A2E #812948 #AF3862 #CA5A82 #D988A5
Accessibility & contrast
On white
5.89
#AF3862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#AF3862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3862
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3862 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515663
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#BE2849
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3862; /* rgb */ color: rgb(175, 56, 98); /* oklch */ color: oklch(52.5% 0.158 2.7);
Tailwind
colors: {
custom: {
50: '#cc778e',
500: '#af3862',
950: '#000000',
},
}SCSS
$custom: #af3862; $custom-light: #cc778e; $custom-dark: #000000;
JSON
{
"hex": "#af3862",
"rgb": {
"r": 175,
"g": 56,
"b": 98
},
"hsl": {
"h": 338.824,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.52482,
"c": 0.15779,
"h": 2.7
},
"luminance": 0.12824
}Semantic roles & 50–950 ramp
primary
#AF3862
secondary
#80C3AB
accent
#DBA94D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D