#AF255C#AF255C
#AF255C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 2.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF255C |
|---|---|
| RGB | rgb(175, 37, 92) |
| HSL | hsl(336, 65%, 42%) |
| HSV | hsv(336, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 47.4%, 31.4%) |
| CIE-LAB | lab(39.94, 57.64, 2.68) |
| CIE-LCH | lch(39.94, 57.71, 2.66°) |
| OKLab | oklab(50.53% 0.1768 0.0075) |
| OKLCH | oklch(50.53% 0.177 2.4) |
| XYZ | xyz(20.2742, 11.2126, 11.2198) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.19
Violet Red
#A50055
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 4.67
Deep Pink
#CB0162
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 5.26
Berry
#990F4B
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF255C #25AF78
analogous
#AF25A1 #AF255C #AF3325
triadic
#AF255C #5CAF25 #255CAF
tetradic
#AF255C #A1AF25 #25AF78 #3325AF
square
#AF255C #A1AF25 #25AF78 #3325AF
split-complementary
#AF255C #25AF33 #25A1AF
monochromatic
#4A1027 #7C1A41 #AF255C #D63C79 #E06E9C
Accessibility & contrast
On white
6.48
#AF255C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF255C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF255C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF255C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF255C | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af255c; /* rgb */ color: rgb(175, 37, 92); /* oklch */ color: oklch(50.5% 0.177 2.4);
Tailwind
colors: {
custom: {
50: '#cd6e89',
500: '#af255c',
950: '#000000',
},
}SCSS
$custom: #af255c; $custom-light: #cd6e89; $custom-dark: #000000;
JSON
{
"hex": "#af255c",
"rgb": {
"r": 175,
"g": 37,
"b": 92
},
"hsl": {
"h": 336.087,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50534,
"c": 0.177,
"h": 2.4
},
"luminance": 0.1121
}Semantic roles & 50–950 ramp
primary
#AF255C
secondary
#69C7A1
accent
#E8A540
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C