#A2255B#A2255B
#A2255B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.166 H 359.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A2255B |
|---|---|
| RGB | rgb(162, 37, 91) |
| HSL | hsl(334, 63%, 39%) |
| HSV | hsv(334, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 43.8%, 36.5%) |
| CIE-LAB | lab(37.41, 53.96, -0.66) |
| CIE-LCH | lch(37.41, 53.97, 359.30°) |
| OKLab | oklab(48.22% 0.1658 -0.0011) |
| OKLCH | oklch(48.22% 0.166 359.6) |
| XYZ | xyz(17.4515, 9.7621, 10.8608) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.74
Dark Fuchsia
#9D0759
ΔE00 3.54
Deep Magenta
#A0025C
ΔE00 3.68
Berry
#990F4B
ΔE00 4.01
Mulberry
#920A4E
ΔE00 4.82
Dark Magenta
#960056
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2255B #25A26C
analogous
#A2259A #A2255B #A22E25
triadic
#A2255B #5BA225 #255BA2
tetradic
#A2255B #9AA225 #25A26C #2E25A2
square
#A2255B #9AA225 #25A26C #2E25A2
split-complementary
#A2255B #25A22E #259AA2
monochromatic
#3E0E23 #701A3F #A2255B #D13477 #DC6599
Accessibility & contrast
On white
7.11
#A2255B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A2255B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2255B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2255B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2255B | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#636158
Tritanopia (blue-blind)
#B00E3D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a2255b; /* rgb */ color: rgb(162, 37, 91); /* oklch */ color: oklch(48.2% 0.166 359.6);
Tailwind
colors: {
custom: {
50: '#c36c89',
500: '#a2255b',
950: '#000000',
},
}SCSS
$custom: #a2255b; $custom-light: #c36c89; $custom-dark: #000000;
JSON
{
"hex": "#a2255b",
"rgb": {
"r": 162,
"g": 37,
"b": 91
},
"hsl": {
"h": 334.08,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.48219,
"c": 0.16575,
"h": 359.6
},
"luminance": 0.0976
}Semantic roles & 50–950 ramp
primary
#A2255B
secondary
#61C298
accent
#E69F42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C