#A1226B#A1226B
#A1226B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.175 H 350.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A1226B |
|---|---|
| RGB | rgb(161, 34, 107) |
| HSL | hsl(326, 65%, 38%) |
| HSV | hsv(326, 79%, 63%) |
| CMYK | cmyk(0%, 78.9%, 33.5%, 36.9%) |
| CIE-LAB | lab(37.45, 56.33, -10.79) |
| CIE-LCH | lch(37.45, 57.35, 349.15°) |
| OKLab | oklab(48.4% 0.1726 -0.0281) |
| OKLCH | oklch(48.4% 0.175 350.8) |
| XYZ | xyz(17.9249, 9.7848, 14.8518) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.89
Deep Magenta
#A0025C
ΔE00 3.64
Dark Fuchsia
#9D0759
ΔE00 4.13
Dark Magenta
#960056
ΔE00 5.00
Violet Red
#A50055
ΔE00 5.51
Magenta (survey)
#C20078
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1226B #22A158
analogous
#9722A1 #A1226B #A1222B
triadic
#A1226B #6BA122 #226BA1
tetradic
#A1226B #A19722 #22A158 #222BA1
square
#A1226B #A19722 #22A158 #222BA1
split-complementary
#A1226B #2BA122 #22A197
monochromatic
#3C0D28 #6E1749 #A1226B #D32D8C #DD60A8
Accessibility & contrast
On white
7.10
#A1226B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A1226B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1226B
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1226B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1226B | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5E6068
Tritanopia (blue-blind)
#AD1744
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a1226b; /* rgb */ color: rgb(161, 34, 107); /* oklch */ color: oklch(48.4% 0.175 350.8);
Tailwind
colors: {
custom: {
50: '#c16b95',
500: '#a1226b',
950: '#000000',
},
}SCSS
$custom: #a1226b; $custom-light: #c16b95; $custom-dark: #000000;
JSON
{
"hex": "#a1226b",
"rgb": {
"r": 161,
"g": 34,
"b": 107
},
"hsl": {
"h": 325.512,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.48397,
"c": 0.17487,
"h": 350.8
},
"luminance": 0.09783
}Semantic roles & 50–950 ramp
primary
#A1226B
secondary
#5DC288
accent
#E88740
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E