#AF2762#AF2762
#AF2762 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.177 H 359.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2762 |
|---|---|
| RGB | rgb(175, 39, 98) |
| HSL | hsl(334, 64%, 42%) |
| HSV | hsv(334, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 44%, 31.4%) |
| CIE-LAB | lab(40.33, 57.60, -0.54) |
| CIE-LCH | lch(40.33, 57.60, 359.46°) |
| OKLab | oklab(50.88% 0.177 -0.0008) |
| OKLCH | oklch(50.88% 0.177 359.8) |
| XYZ | xyz(20.6109, 11.4496, 12.6775) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.41
Deep Pink
#CB0162
ΔE00 5.12
Deep Magenta
#A0025C
ΔE00 5.42
Dark Fuchsia
#9D0759
ΔE00 5.59
Magenta (survey)
#C20078
ΔE00 5.62
Purplish Red
#B0054B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2762 #27AF74
analogous
#AF27A6 #AF2762 #AF3027
triadic
#AF2762 #62AF27 #2762AF
tetradic
#AF2762 #A6AF27 #27AF74 #3027AF
square
#AF2762 #A6AF27 #27AF74 #3027AF
split-complementary
#AF2762 #27AF30 #27A6AF
monochromatic
#4B112A #7D1C46 #AF2762 #D43F80 #DF71A1
Accessibility & contrast
On white
6.38
#AF2762 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2762 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2762
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2762 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2762 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#BE0B41
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2762; /* rgb */ color: rgb(175, 39, 98); /* oklch */ color: oklch(50.9% 0.177 359.8);
Tailwind
colors: {
custom: {
50: '#cc6f8e',
500: '#af2762',
950: '#000000',
},
}SCSS
$custom: #af2762; $custom-light: #cc6f8e; $custom-dark: #000000;
JSON
{
"hex": "#af2762",
"rgb": {
"r": 175,
"g": 39,
"b": 98
},
"hsl": {
"h": 333.971,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.5088,
"c": 0.17698,
"h": 359.8
},
"luminance": 0.11447
}Semantic roles & 50–950 ramp
primary
#AF2762
secondary
#6BC69F
accent
#E79F41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D