#A5237C#A5237C
#A5237C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 344.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A5237C |
|---|---|
| RGB | rgb(165, 35, 124) |
| HSL | hsl(319, 65%, 39%) |
| HSV | hsv(319, 79%, 65%) |
| CMYK | cmyk(0%, 78.8%, 24.8%, 35.3%) |
| CIE-LAB | lab(39.00, 59.12, -19.02) |
| CIE-LCH | lch(39.00, 62.10, 342.17°) |
| OKLab | oklab(49.88% 0.1789 -0.0508) |
| OKLCH | oklch(49.88% 0.186 344.2) |
| XYZ | xyz(19.7570, 10.6588, 20.0818) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.55
Magenta (survey)
#C20078
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 5.99
Mediumvioletred
#C71585
ΔE00 6.44
Deep Magenta
#A0025C
ΔE00 6.90
Barney Purple
#A00498
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5237C #23A54C
analogous
#8D23A5 #A5237C #A5233B
triadic
#A5237C #7CA523 #237CA5
tetradic
#A5237C #A58D23 #23A54C #233BA5
square
#A5237C #A58D23 #23A54C #233BA5
split-complementary
#A5237C #3BA523 #23A58D
monochromatic
#400E30 #731856 #A5237C #D332A0 #DE64B8
Accessibility & contrast
On white
6.71
#A5237C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A5237C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5237C
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5237C | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#B0224D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a5237c; /* rgb */ color: rgb(165, 35, 124); /* oklch */ color: oklch(49.9% 0.186 344.2);
Tailwind
colors: {
custom: {
50: '#c46da2',
500: '#a5237c',
950: '#000000',
},
}SCSS
$custom: #a5237c; $custom-light: #c46da2; $custom-dark: #000000;
JSON
{
"hex": "#a5237c",
"rgb": {
"r": 165,
"g": 35,
"b": 124
},
"hsl": {
"h": 318.923,
"s": 65,
"l": 39.216
},
"oklch": {
"l": 0.49884,
"c": 0.18598,
"h": 344.2
},
"luminance": 0.10657
}Semantic roles & 50–950 ramp
primary
#A5237C
secondary
#60C480
accent
#E87540
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E