#A6315E#A6315E
#A6315E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.157 H 1.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A6315E |
|---|---|
| RGB | rgb(166, 49, 94) |
| HSL | hsl(337, 54%, 42%) |
| HSV | hsv(337, 70%, 65%) |
| CMYK | cmyk(0%, 70.5%, 43.4%, 34.9%) |
| CIE-LAB | lab(39.77, 51.17, 0.97) |
| CIE-LCH | lch(39.77, 51.17, 1.08°) |
| OKLab | oklab(50.12% 0.1567 0.0031) |
| OKLCH | oklch(50.12% 0.157 1.1) |
| XYZ | xyz(18.8460, 11.1141, 11.7403) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.62
Violet Red
#A50055
ΔE00 4.79
Purplish Red
#B0054B
ΔE00 5.57
Berry
#990F4B
ΔE00 5.78
Dark Fuchsia
#9D0759
ΔE00 5.86
Deep Magenta
#A0025C
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6315E #31A679
analogous
#A63199 #A6315E #A63E31
triadic
#A6315E #5EA631 #315EA6
tetradic
#A6315E #99A631 #31A679 #3E31A6
square
#A6315E #99A631 #31A679 #3E31A6
split-complementary
#A6315E #31A63E #3199A6
monochromatic
#471528 #772343 #A6315E #CA4A7B #D87A9E
Accessibility & contrast
On white
6.52
#A6315E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#A6315E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6315E
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6315E | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494F5F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#B42144
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a6315e; /* rgb */ color: rgb(166, 49, 94); /* oklch */ color: oklch(50.1% 0.157 1.1);
Tailwind
colors: {
custom: {
50: '#c5728b',
500: '#a6315e',
950: '#000000',
},
}SCSS
$custom: #a6315e; $custom-light: #c5728b; $custom-dark: #000000;
JSON
{
"hex": "#a6315e",
"rgb": {
"r": 166,
"g": 49,
"b": 94
},
"hsl": {
"h": 336.923,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.50124,
"c": 0.15674,
"h": 1.1
},
"luminance": 0.11112
}Semantic roles & 50–950 ramp
primary
#A6315E
secondary
#73C0A2
accent
#DEA54A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D