#AF2862#AF2862
#AF2862 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.176 H 359.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2862 |
|---|---|
| RGB | rgb(175, 40, 98) |
| HSL | hsl(334, 63%, 42%) |
| HSV | hsv(334, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 44%, 31.4%) |
| CIE-LAB | lab(40.44, 57.29, -0.39) |
| CIE-LCH | lch(40.44, 57.30, 359.61°) |
| OKLab | oklab(50.96% 0.176 -0.0003) |
| OKLCH | oklch(50.96% 0.176 359.9) |
| XYZ | xyz(20.6442, 11.5161, 12.6886) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.52
Deep Pink
#CB0162
ΔE00 5.09
Deep Magenta
#A0025C
ΔE00 5.55
Purplish Red
#B0054B
ΔE00 5.63
Magenta (survey)
#C20078
ΔE00 5.69
Dark Fuchsia
#9D0759
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2862 #28AF75
analogous
#AF28A6 #AF2862 #AF3128
triadic
#AF2862 #62AF28 #2862AF
tetradic
#AF2862 #A6AF28 #28AF75 #3128AF
square
#AF2862 #A6AF28 #28AF75 #3128AF
split-complementary
#AF2862 #28AF31 #28A6AF
monochromatic
#4B112A #7D1D46 #AF2862 #D44180 #DF73A1
Accessibility & contrast
On white
6.36
#AF2862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2862
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2862 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#BE0D42
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2862; /* rgb */ color: rgb(175, 40, 98); /* oklch */ color: oklch(51.0% 0.176 359.9);
Tailwind
colors: {
custom: {
50: '#cc6f8e',
500: '#af2862',
950: '#000000',
},
}SCSS
$custom: #af2862; $custom-light: #cc6f8e; $custom-dark: #000000;
JSON
{
"hex": "#af2862",
"rgb": {
"r": 175,
"g": 40,
"b": 98
},
"hsl": {
"h": 334.222,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.5096,
"c": 0.17599,
"h": 359.9
},
"luminance": 0.11513
}Semantic roles & 50–950 ramp
primary
#AF2862
secondary
#6DC6A0
accent
#E69F42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D