#AF2262#AF2262
#AF2262 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.182 H 359.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2262 |
|---|---|
| RGB | rgb(175, 34, 98) |
| HSL | hsl(333, 67%, 41%) |
| HSV | hsv(333, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 44%, 31.4%) |
| CIE-LAB | lab(39.82, 59.04, -1.29) |
| CIE-LCH | lch(39.82, 59.06, 358.75°) |
| OKLab | oklab(50.51% 0.1816 -0.0027) |
| OKLCH | oklch(50.51% 0.182 359.2) |
| XYZ | xyz(20.4574, 11.1426, 12.6264) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.94
Deep Magenta
#A0025C
ΔE00 4.83
Dark Fuchsia
#9D0759
ΔE00 5.05
Deep Pink
#CB0162
ΔE00 5.32
Magenta (survey)
#C20078
ΔE00 5.33
Purplish Red
#B0054B
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2262 #22AF6F
analogous
#AF22A8 #AF2262 #AF2822
triadic
#AF2262 #62AF22 #2262AF
tetradic
#AF2262 #A8AF22 #22AF6F #2822AF
square
#AF2262 #A8AF22 #22AF6F #2822AF
split-complementary
#AF2262 #22AF28 #22A8AF
monochromatic
#490E29 #7C1845 #AF2262 #D83680 #E269A0
Accessibility & contrast
On white
6.51
#AF2262 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2262 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2262
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2262 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2262 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#6A675F
Tritanopia (blue-blind)
#BE003F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2262; /* rgb */ color: rgb(175, 34, 98); /* oklch */ color: oklch(50.5% 0.182 359.2);
Tailwind
colors: {
custom: {
50: '#cc6d8e',
500: '#af2262',
950: '#000000',
},
}SCSS
$custom: #af2262; $custom-light: #cc6d8e; $custom-dark: #000000;
JSON
{
"hex": "#af2262",
"rgb": {
"r": 175,
"g": 34,
"b": 98
},
"hsl": {
"h": 332.766,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50508,
"c": 0.18163,
"h": 359.2
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#AF2262
secondary
#65C89B
accent
#EA9C3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D