#A5236D#A5236D
#A5236D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 351.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A5236D |
|---|---|
| RGB | rgb(165, 35, 109) |
| HSL | hsl(326, 65%, 39%) |
| HSV | hsv(326, 79%, 65%) |
| CMYK | cmyk(0%, 78.8%, 33.9%, 35.3%) |
| CIE-LAB | lab(38.39, 57.30, -10.57) |
| CIE-LCH | lch(38.39, 58.26, 349.55°) |
| OKLab | oklab(49.24% 0.1756 -0.0274) |
| OKLCH | oklch(49.24% 0.178 351.1) |
| XYZ | xyz(18.8795, 10.3078, 15.4604) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.52
Deep Magenta
#A0025C
ΔE00 4.06
Dark Fuchsia
#9D0759
ΔE00 4.58
Magenta (survey)
#C20078
ΔE00 5.08
Dark Magenta
#960056
ΔE00 5.63
Violet Red
#A50055
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5236D #23A55B
analogous
#9C23A5 #A5236D #A5232C
triadic
#A5236D #6DA523 #236DA5
tetradic
#A5236D #A59C23 #23A55B #232CA5
square
#A5236D #A59C23 #23A55B #232CA5
split-complementary
#A5236D #2CA523 #23A59C
monochromatic
#400E2A #73184C #A5236D #D3328E #DE64AA
Accessibility & contrast
On white
6.86
#A5236D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A5236D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5236D
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5236D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5236D | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4C6F
Deuteranopia (green-blind)
#60636A
Tritanopia (blue-blind)
#B21745
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5236d; /* rgb */ color: rgb(165, 35, 109); /* oklch */ color: oklch(49.2% 0.178 351.1);
Tailwind
colors: {
custom: {
50: '#c46c96',
500: '#a5236d',
950: '#000000',
},
}SCSS
$custom: #a5236d; $custom-light: #c46c96; $custom-dark: #000000;
JSON
{
"hex": "#a5236d",
"rgb": {
"r": 165,
"g": 35,
"b": 109
},
"hsl": {
"h": 325.846,
"s": 65,
"l": 39.216
},
"oklch": {
"l": 0.49242,
"c": 0.17777,
"h": 351.1
},
"luminance": 0.10306
}Semantic roles & 50–950 ramp
primary
#A5236D
secondary
#60C48B
accent
#E88840
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E