#A12258#A12258
#A12258 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 0.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A12258 |
|---|---|
| RGB | rgb(161, 34, 88) |
| HSL | hsl(334, 65%, 38%) |
| HSV | hsv(334, 79%, 63%) |
| CMYK | cmyk(0%, 78.9%, 45.3%, 36.9%) |
| CIE-LAB | lab(36.80, 54.33, 0.33) |
| CIE-LCH | lch(36.80, 54.33, 0.35°) |
| OKLab | oklab(47.7% 0.1669 0.0015) |
| OKLCH | oklch(47.7% 0.167 0.5) |
| XYZ | xyz(17.0328, 9.4280, 10.1535) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.32
Berry
#990F4B
ΔE00 3.32
Dark Fuchsia
#9D0759
ΔE00 3.39
Deep Magenta
#A0025C
ΔE00 3.65
Purple Red
#990147
ΔE00 4.28
Mulberry
#920A4E
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12258 #22A16B
analogous
#A12297 #A12258 #A12B22
triadic
#A12258 #58A122 #2258A1
tetradic
#A12258 #97A122 #22A16B #2B22A1
square
#A12258 #97A122 #22A16B #2B22A1
split-complementary
#A12258 #22A12B #2297A1
monochromatic
#3C0D21 #6E173C #A12258 #D32D74 #DD6095
Accessibility & contrast
On white
7.28
#A12258 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A12258 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12258
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12258 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AF043A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12258; /* rgb */ color: rgb(161, 34, 88); /* oklch */ color: oklch(47.7% 0.167 0.5);
Tailwind
colors: {
custom: {
50: '#c26b87',
500: '#a12258',
950: '#000000',
},
}SCSS
$custom: #a12258; $custom-light: #c26b87; $custom-dark: #000000;
JSON
{
"hex": "#a12258",
"rgb": {
"r": 161,
"g": 34,
"b": 88
},
"hsl": {
"h": 334.488,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.47701,
"c": 0.16689,
"h": 0.5
},
"luminance": 0.09426
}Semantic roles & 50–950 ramp
primary
#A12258
secondary
#5DC297
accent
#E8A040
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C