#AF3462#AF3462
#AF3462 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.163 H 1.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3462 |
|---|---|
| RGB | rgb(175, 52, 98) |
| HSL | hsl(338, 54%, 45%) |
| HSV | hsv(338, 70%, 69%) |
| CMYK | cmyk(0%, 70.3%, 44%, 31.4%) |
| CIE-LAB | lab(41.93, 53.12, 1.79) |
| CIE-LCH | lch(41.93, 53.15, 1.93°) |
| OKLab | oklab(52.06% 0.1626 0.0052) |
| OKLCH | oklch(52.06% 0.163 1.8) |
| XYZ | xyz(21.1134, 12.4544, 12.8450) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.99
Deep Pink
#CB0162
ΔE00 5.09
Purplish Red
#B0054B
ΔE00 5.96
Violet Red
#A50055
ΔE00 6.21
Raspberry (survey)
#B00149
ΔE00 6.40
Dark Rose
#B5485D
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3462 #34AF81
analogous
#AF34A0 #AF3462 #AF4434
triadic
#AF3462 #62AF34 #3462AF
tetradic
#AF3462 #A0AF34 #34AF81 #4434AF
square
#AF3462 #A0AF34 #34AF81 #4434AF
split-complementary
#AF3462 #34AF44 #34A0AF
monochromatic
#51182D #802648 #AF3462 #CC5481 #DA83A4
Accessibility & contrast
On white
6.02
#AF3462 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#AF3462 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3462
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3462 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3462 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#BE2247
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af3462; /* rgb */ color: rgb(175, 52, 98); /* oklch */ color: oklch(52.1% 0.163 1.8);
Tailwind
colors: {
custom: {
50: '#cc758e',
500: '#af3462',
950: '#000000',
},
}SCSS
$custom: #af3462; $custom-light: #cc758e; $custom-dark: #000000;
JSON
{
"hex": "#af3462",
"rgb": {
"r": 175,
"g": 52,
"b": 98
},
"hsl": {
"h": 337.561,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.52059,
"c": 0.16272,
"h": 1.8
},
"luminance": 0.12452
}Semantic roles & 50–950 ramp
primary
#AF3462
secondary
#7BC4A9
accent
#DEA64A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D