#A6226F#A6226F
#A6226F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.180 H 350.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A6226F |
|---|---|
| RGB | rgb(166, 34, 111) |
| HSL | hsl(325, 66%, 39%) |
| HSV | hsv(325, 80%, 65%) |
| CMYK | cmyk(0%, 79.5%, 33.1%, 34.9%) |
| CIE-LAB | lab(38.55, 58.07, -11.56) |
| CIE-LCH | lch(38.55, 59.21, 348.74°) |
| OKLab | oklab(49.42% 0.1779 -0.0301) |
| OKLCH | oklch(49.42% 0.18 350.4) |
| XYZ | xyz(19.1683, 10.4010, 16.0340) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.50
Deep Magenta
#A0025C
ΔE00 4.36
Magenta (survey)
#C20078
ΔE00 4.89
Dark Fuchsia
#9D0759
ΔE00 4.92
Dark Magenta
#960056
ΔE00 5.93
Violet Red
#A50055
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6226F #22A659
analogous
#9B22A6 #A6226F #A6222D
triadic
#A6226F #6FA622 #226FA6
tetradic
#A6226F #A69B22 #22A659 #222DA6
square
#A6226F #A69B22 #22A659 #222DA6
split-complementary
#A6226F #2DA622 #22A69B
monochromatic
#400D2B #73184D #A6226F #D53090 #DF63AC
Accessibility & contrast
On white
6.82
#A6226F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#A6226F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6226F
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6226F | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B31746
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a6226f; /* rgb */ color: rgb(166, 34, 111); /* oklch */ color: oklch(49.4% 0.180 350.4);
Tailwind
colors: {
custom: {
50: '#c56c98',
500: '#a6226f',
950: '#000000',
},
}SCSS
$custom: #a6226f; $custom-light: #c56c98; $custom-dark: #000000;
JSON
{
"hex": "#a6226f",
"rgb": {
"r": 166,
"g": 34,
"b": 111
},
"hsl": {
"h": 325,
"s": 66,
"l": 39.216
},
"oklch": {
"l": 0.4942,
"c": 0.18045,
"h": 350.4
},
"luminance": 0.10399
}Semantic roles & 50–950 ramp
primary
#A6226F
secondary
#5FC48A
accent
#E9863F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E