#A6236C#A6236C
#A6236C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 351.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A6236C |
|---|---|
| RGB | rgb(166, 35, 108) |
| HSL | hsl(327, 65%, 39%) |
| HSV | hsv(327, 79%, 65%) |
| CMYK | cmyk(0%, 78.9%, 34.9%, 34.9%) |
| CIE-LAB | lab(38.54, 57.44, -9.69) |
| CIE-LCH | lch(38.54, 58.25, 350.43°) |
| OKLab | oklab(49.37% 0.1762 -0.025) |
| OKLCH | oklch(49.37% 0.178 351.9) |
| XYZ | xyz(19.0349, 10.3941, 15.1883) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.75
Deep Magenta
#A0025C
ΔE00 3.94
Dark Fuchsia
#9D0759
ΔE00 4.46
Magenta (survey)
#C20078
ΔE00 4.93
Violet Red
#A50055
ΔE00 5.36
Dark Magenta
#960056
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6236C #23A65D
analogous
#9F23A6 #A6236C #A6232B
triadic
#A6236C #6CA623 #236CA6
tetradic
#A6236C #A69F23 #23A65D #232BA6
square
#A6236C #A69F23 #23A65D #232BA6
split-complementary
#A6236C #2BA623 #23A69F
monochromatic
#410E2A #73184B #A6236C #D4328C #DF65A9
Accessibility & contrast
On white
6.82
#A6236C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#A6236C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6236C
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6236C | 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)
#3C4C6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#B31645
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a6236c; /* rgb */ color: rgb(166, 35, 108); /* oklch */ color: oklch(49.4% 0.178 351.9);
Tailwind
colors: {
custom: {
50: '#c56c96',
500: '#a6236c',
950: '#000000',
},
}SCSS
$custom: #a6236c; $custom-light: #c56c96; $custom-dark: #000000;
JSON
{
"hex": "#a6236c",
"rgb": {
"r": 166,
"g": 35,
"b": 108
},
"hsl": {
"h": 326.565,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.49374,
"c": 0.17801,
"h": 351.9
},
"luminance": 0.10392
}Semantic roles & 50–950 ramp
primary
#A6236C
secondary
#61C48D
accent
#E88A40
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E