#A6237F#A6237F
#A6237F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.188 H 343.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A6237F |
|---|---|
| RGB | rgb(166, 35, 127) |
| HSL | hsl(318, 65%, 39%) |
| HSV | hsv(318, 79%, 65%) |
| CMYK | cmyk(0%, 78.9%, 23.5%, 34.9%) |
| CIE-LAB | lab(39.32, 59.75, -20.38) |
| CIE-LCH | lch(39.32, 63.13, 341.17°) |
| OKLab | oklab(50.19% 0.1803 -0.0546) |
| OKLCH | oklch(50.19% 0.188 343.2) |
| XYZ | xyz(20.1585, 10.8435, 21.1060) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 5.58
Magenta (survey)
#C20078
ΔE00 6.04
Mediumvioletred
#C71585
ΔE00 6.35
Barney Purple
#A00498
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6237F #23A64A
analogous
#8C23A6 #A6237F #A6233D
triadic
#A6237F #7FA623 #237FA6
tetradic
#A6237F #A68C23 #23A64A #233DA6
square
#A6237F #A68C23 #23A64A #233DA6
split-complementary
#A6237F #3DA623 #23A68C
monochromatic
#410E32 #731858 #A6237F #D432A4 #DF65BA
Accessibility & contrast
On white
6.63
#A6237F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#A6237F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6237F
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6237F | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#B1234F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a6237f; /* rgb */ color: rgb(166, 35, 127); /* oklch */ color: oklch(50.2% 0.188 343.2);
Tailwind
colors: {
custom: {
50: '#c56da4',
500: '#a6237f',
950: '#000000',
},
}SCSS
$custom: #a6237f; $custom-light: #c56da4; $custom-dark: #000000;
JSON
{
"hex": "#a6237f",
"rgb": {
"r": 166,
"g": 35,
"b": 127
},
"hsl": {
"h": 317.863,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.5019,
"c": 0.18842,
"h": 343.2
},
"luminance": 0.10841
}Semantic roles & 50–950 ramp
primary
#A6237F
secondary
#61C47E
accent
#E87240
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F