#9D305F#9D305F
#9D305F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.150 H 357.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9D305F |
|---|---|
| RGB | rgb(157, 48, 95) |
| HSL | hsl(334, 53%, 40%) |
| HSV | hsv(334, 69%, 62%) |
| CMYK | cmyk(0%, 69.4%, 39.5%, 38.4%) |
| CIE-LAB | lab(38.04, 48.94, -2.39) |
| CIE-LCH | lch(38.04, 49.00, 357.20°) |
| OKLab | oklab(48.55% 0.1499 -0.0057) |
| OKLCH | oklch(48.55% 0.15 357.8) |
| XYZ | xyz(17.0283, 10.1103, 11.8790) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.44
Dark Fuchsia
#9D0759
ΔE00 4.49
Deep Magenta
#A0025C
ΔE00 4.61
Berry
#990F4B
ΔE00 5.29
Mulberry
#920A4E
ΔE00 5.67
Dark Magenta
#960056
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D305F #309D6E
analogous
#9D3096 #9D305F #9D3730
triadic
#9D305F #5F9D30 #305F9D
tetradic
#9D305F #969D30 #309D6E #37309D
square
#9D305F #969D30 #309D6E #37309D
split-complementary
#9D305F #309D37 #30969D
monochromatic
#3F1326 #6E2243 #9D305F #C6447C #D4739D
Accessibility & contrast
On white
6.95
#9D305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9D305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D305F
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D305F | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C60
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#AA2443
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9d305f; /* rgb */ color: rgb(157, 48, 95); /* oklch */ color: oklch(48.6% 0.150 357.8);
Tailwind
colors: {
custom: {
50: '#be708c',
500: '#9d305f',
950: '#000000',
},
}SCSS
$custom: #9d305f; $custom-light: #be708c; $custom-dark: #000000;
JSON
{
"hex": "#9d305f",
"rgb": {
"r": 157,
"g": 48,
"b": 95
},
"hsl": {
"h": 334.128,
"s": 53.171,
"l": 40.196
},
"oklch": {
"l": 0.48551,
"c": 0.15002,
"h": 357.8
},
"luminance": 0.10108
}Semantic roles & 50–950 ramp
primary
#9D305F
secondary
#6DBC9A
accent
#DD9E4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D