#9F277A#9F277A
#9F277A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.177 H 343.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F277A |
|---|---|
| RGB | rgb(159, 39, 122) |
| HSL | hsl(319, 61%, 39%) |
| HSV | hsv(319, 75%, 62%) |
| CMYK | cmyk(0%, 75.5%, 23.3%, 37.6%) |
| CIE-LAB | lab(38.25, 56.12, -19.02) |
| CIE-LCH | lch(38.25, 59.26, 341.28°) |
| OKLab | oklab(49.11% 0.1692 -0.0509) |
| OKLCH | oklch(49.11% 0.177 343.3) |
| XYZ | xyz(18.5371, 10.2291, 19.4067) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.40
Warm Purple
#952E8F
ΔE00 5.59
Magenta (survey)
#C20078
ΔE00 6.84
Deep Magenta
#A0025C
ΔE00 6.88
Barney Purple
#A00498
ΔE00 7.10
Light Eggplant
#894585
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F277A #279F4C
analogous
#88279F #9F277A #9F273E
triadic
#9F277A #7A9F27 #277A9F
tetradic
#9F277A #9F8827 #279F4C #273E9F
square
#9F277A #9F8827 #279F4C #273E9F
split-complementary
#9F277A #3E9F27 #279F88
monochromatic
#3D0F2F #6E1B54 #9F277A #CE369F #DA67B6
Accessibility & contrast
On white
6.90
#9F277A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#9F277A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F277A
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F277A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F277A | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A9274D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f277a; /* rgb */ color: rgb(159, 39, 122); /* oklch */ color: oklch(49.1% 0.177 343.3);
Tailwind
colors: {
custom: {
50: '#bf6da0',
500: '#9f277a',
950: '#000000',
},
}SCSS
$custom: #9f277a; $custom-light: #bf6da0; $custom-dark: #000000;
JSON
{
"hex": "#9f277a",
"rgb": {
"r": 159,
"g": 39,
"b": 122
},
"hsl": {
"h": 318.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.49109,
"c": 0.17667,
"h": 343.3
},
"luminance": 0.10227
}Semantic roles & 50–950 ramp
primary
#9F277A
secondary
#62C07F
accent
#E47544
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E