#AF3258#AF3258
#AF3258 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.163 H 6.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3258 |
|---|---|
| RGB | rgb(175, 50, 88) |
| HSL | hsl(342, 56%, 44%) |
| HSV | hsv(342, 71%, 69%) |
| CMYK | cmyk(0%, 71.4%, 49.7%, 31.4%) |
| CIE-LAB | lab(41.38, 52.94, 7.26) |
| CIE-LCH | lch(41.38, 53.43, 7.81°) |
| OKLab | oklab(51.56% 0.1614 0.019) |
| OKLCH | oklch(51.56% 0.163 6.7) |
| XYZ | xyz(20.5830, 12.1025, 10.4828) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.82
Purplish Red
#B0054B
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.68
Light Maroon
#A24857
ΔE00 5.31
Dark Rose
#B5485D
ΔE00 5.32
Deep Pink
#CB0162
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3258 #32AF89
analogous
#AF3297 #AF3258 #AF4B32
triadic
#AF3258 #58AF32 #3258AF
tetradic
#AF3258 #97AF32 #32AF89 #4B32AF
square
#AF3258 #97AF32 #32AF89 #4B32AF
split-complementary
#AF3258 #32AF4B #3297AF
monochromatic
#501728 #7F2440 #AF3258 #CD5177 #DB819C
Accessibility & contrast
On white
6.14
#AF3258 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF3258 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3258
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3258 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#BF1A42
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3258; /* rgb */ color: rgb(175, 50, 88); /* oklch */ color: oklch(51.6% 0.163 6.7);
Tailwind
colors: {
custom: {
50: '#cc7386',
500: '#af3258',
950: '#000000',
},
}SCSS
$custom: #af3258; $custom-light: #cc7386; $custom-dark: #000000;
JSON
{
"hex": "#af3258",
"rgb": {
"r": 175,
"g": 50,
"b": 88
},
"hsl": {
"h": 341.76,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.51561,
"c": 0.16251,
"h": 6.7
},
"luminance": 0.121
}Semantic roles & 50–950 ramp
primary
#AF3258
secondary
#79C4AD
accent
#DFB149
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C