#9A334D#9A334D
#9A334D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.138 H 8.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9A334D |
|---|---|
| RGB | rgb(154, 51, 77) |
| HSL | hsl(345, 50%, 40%) |
| HSV | hsv(345, 67%, 60%) |
| CMYK | cmyk(0%, 66.9%, 50%, 39.6%) |
| CIE-LAB | lab(37.44, 44.89, 8.11) |
| CIE-LCH | lch(37.44, 45.62, 10.25°) |
| OKLab | oklab(47.83% 0.1364 0.021) |
| OKLCH | oklch(47.83% 0.138 8.7) |
| XYZ | xyz(15.8511, 9.7755, 8.0719) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.55
Purplish Red
#B0054B
ΔE00 5.19
Raspberry (survey)
#B00149
ΔE00 5.29
Light Maroon
#A24857
ΔE00 5.33
Berry
#990F4B
ΔE00 5.63
Cranberry
#9E003A
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A334D #339A80
analogous
#9A3381 #9A334D #9A4C33
triadic
#9A334D #4D9A33 #334D9A
tetradic
#9A334D #819A33 #339A80 #4C339A
square
#9A334D #819A33 #339A80 #4C339A
split-complementary
#9A334D #339A4C #33819A
monochromatic
#3E151F #6C2436 #9A334D #C24867 #D2768D
Accessibility & contrast
On white
7.11
#9A334D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9A334D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A334D
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A334D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A334D | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#A8233D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a334d; /* rgb */ color: rgb(154, 51, 77); /* oklch */ color: oklch(47.8% 0.138 8.7);
Tailwind
colors: {
custom: {
50: '#bd717e',
500: '#9a334d',
950: '#000000',
},
}SCSS
$custom: #9a334d; $custom-light: #bd717e; $custom-dark: #000000;
JSON
{
"hex": "#9a334d",
"rgb": {
"r": 154,
"g": 51,
"b": 77
},
"hsl": {
"h": 344.854,
"s": 50.244,
"l": 40.196
},
"oklch": {
"l": 0.47832,
"c": 0.13803,
"h": 8.7
},
"luminance": 0.09773
}Semantic roles & 50–950 ramp
primary
#9A334D
secondary
#6FBAA7
accent
#DAB64E
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C