#A6315C#A6315C
#A6315C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.156 H 2.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A6315C |
|---|---|
| RGB | rgb(166, 49, 92) |
| HSL | hsl(338, 54%, 42%) |
| HSV | hsv(338, 70%, 65%) |
| CMYK | cmyk(0%, 70.5%, 44.6%, 34.9%) |
| CIE-LAB | lab(39.71, 50.96, 2.14) |
| CIE-LCH | lch(39.71, 51.01, 2.41°) |
| OKLab | oklab(50.06% 0.156 0.0061) |
| OKLCH | oklch(50.06% 0.156 2.2) |
| XYZ | xyz(18.7574, 11.0787, 11.2738) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.23
Violet Red
#A50055
ΔE00 4.87
Purplish Red
#B0054B
ΔE00 5.16
Raspberry (survey)
#B00149
ΔE00 5.58
Berry
#990F4B
ΔE00 5.66
Dark Fuchsia
#9D0759
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6315C #31A67B
analogous
#A63197 #A6315C #A64131
triadic
#A6315C #5CA631 #315CA6
tetradic
#A6315C #97A631 #31A67B #4131A6
square
#A6315C #97A631 #31A67B #4131A6
split-complementary
#A6315C #31A641 #3197A6
monochromatic
#471528 #772342 #A6315C #CA4A79 #D87A9C
Accessibility & contrast
On white
6.53
#A6315C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#A6315C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6315C
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6315C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6315C | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#B42043
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a6315c; /* rgb */ color: rgb(166, 49, 92); /* oklch */ color: oklch(50.1% 0.156 2.2);
Tailwind
colors: {
custom: {
50: '#c5728a',
500: '#a6315c',
950: '#000000',
},
}SCSS
$custom: #a6315c; $custom-light: #c5728a; $custom-dark: #000000;
JSON
{
"hex": "#a6315c",
"rgb": {
"r": 166,
"g": 49,
"b": 92
},
"hsl": {
"h": 337.949,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.50061,
"c": 0.15612,
"h": 2.2
},
"luminance": 0.11076
}Semantic roles & 50–950 ramp
primary
#A6315C
secondary
#73C0A4
accent
#DEA74A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C