#A12351#A12351
#A12351 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.164 H 4.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A12351 |
|---|---|
| RGB | rgb(161, 35, 81) |
| HSL | hsl(338, 64%, 38%) |
| HSV | hsv(338, 78%, 63%) |
| CMYK | cmyk(0%, 78.3%, 49.7%, 36.9%) |
| CIE-LAB | lab(36.70, 53.38, 4.69) |
| CIE-LCH | lch(36.70, 53.58, 5.02°) |
| OKLab | oklab(47.56% 0.1634 0.0125) |
| OKLCH | oklch(47.56% 0.164 4.4) |
| XYZ | xyz(16.7856, 9.3755, 8.7088) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.04
Violet Red
#A50055
ΔE00 3.37
Purplish Red
#B0054B
ΔE00 3.52
Purple Red
#990147
ΔE00 3.72
Raspberry (survey)
#B00149
ΔE00 3.85
Dark Fuchsia
#9D0759
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12351 #23A173
analogous
#A12390 #A12351 #A13423
triadic
#A12351 #51A123 #2351A1
tetradic
#A12351 #90A123 #23A173 #3423A1
square
#A12351 #90A123 #23A173 #3423A1
split-complementary
#A12351 #23A134 #2390A1
monochromatic
#3C0D1E #6F1838 #A12351 #D22F6B #DD628F
Accessibility & contrast
On white
7.31
#A12351 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A12351 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12351
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12351 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12351 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424752
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#B00037
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a12351; /* rgb */ color: rgb(161, 35, 81); /* oklch */ color: oklch(47.6% 0.164 4.4);
Tailwind
colors: {
custom: {
50: '#c36b81',
500: '#a12351',
950: '#000000',
},
}SCSS
$custom: #a12351; $custom-light: #c36b81; $custom-dark: #000000;
JSON
{
"hex": "#a12351",
"rgb": {
"r": 161,
"g": 35,
"b": 81
},
"hsl": {
"h": 338.095,
"s": 64.286,
"l": 38.431
},
"oklch": {
"l": 0.47561,
"c": 0.16388,
"h": 4.4
},
"luminance": 0.09373
}Semantic roles & 50–950 ramp
primary
#A12351
secondary
#5EC29D
accent
#E7AA41
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C