#A23158#A23158
#A23158 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.3% C 0.151 H 3.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A23158 |
|---|---|
| RGB | rgb(162, 49, 88) |
| HSL | hsl(339, 54%, 41%) |
| HSV | hsv(339, 70%, 64%) |
| CMYK | cmyk(0%, 69.8%, 45.7%, 36.5%) |
| CIE-LAB | lab(38.87, 49.34, 3.37) |
| CIE-LCH | lch(38.87, 49.45, 3.90°) |
| OKLab | oklab(49.27% 0.1509 0.0092) |
| OKLCH | oklch(49.27% 0.151 3.5) |
| XYZ | xyz(17.7614, 10.5848, 10.3384) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.15
Purplish Red
#B0054B
ΔE00 4.86
Violet Red
#A50055
ΔE00 4.87
Berry
#990F4B
ΔE00 5.10
Raspberry (survey)
#B00149
ΔE00 5.24
Purple Red
#990147
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23158 #31A27B
analogous
#A23191 #A23158 #A24331
triadic
#A23158 #58A231 #3158A2
tetradic
#A23158 #91A231 #31A27B #4331A2
square
#A23158 #91A231 #31A27B #4331A2
split-complementary
#A23158 #31A243 #3191A2
monochromatic
#441525 #73233E #A23158 #C84874 #D67798
Accessibility & contrast
On white
6.74
#A23158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A23158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23158
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23158 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E59
Deuteranopia (green-blind)
#676455
Tritanopia (blue-blind)
#B02041
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a23158; /* rgb */ color: rgb(162, 49, 88); /* oklch */ color: oklch(49.3% 0.151 3.5);
Tailwind
colors: {
custom: {
50: '#c27187',
500: '#a23158',
950: '#000000',
},
}SCSS
$custom: #a23158; $custom-light: #c27187; $custom-dark: #000000;
JSON
{
"hex": "#a23158",
"rgb": {
"r": 162,
"g": 49,
"b": 88
},
"hsl": {
"h": 339.292,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.49266,
"c": 0.15114,
"h": 3.5
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#A23158
secondary
#71BEA3
accent
#DDAB4B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C