#912271#912271
#912271 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.167 H 342.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #912271 |
|---|---|
| RGB | rgb(145, 34, 113) |
| HSL | hsl(317, 62%, 35%) |
| HSV | hsv(317, 77%, 57%) |
| CMYK | cmyk(0%, 76.6%, 22.1%, 43.1%) |
| CIE-LAB | lab(34.72, 52.97, -19.04) |
| CIE-LCH | lch(34.72, 56.29, 340.23°) |
| OKLab | oklab(45.94% 0.1592 -0.0511) |
| OKLCH | oklch(45.94% 0.167 342.2) |
| XYZ | xyz(15.2302, 8.3576, 16.4307) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.88
Warm Purple
#952E8F
ΔE00 6.14
Deep Magenta
#A0025C
ΔE00 6.66
Bruise
#7E4071
ΔE00 6.67
Dark Magenta
#960056
ΔE00 6.75
Dark Fuchsia
#9D0759
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912271 #229142
analogous
#792291 #912271 #91223A
triadic
#912271 #719122 #227191
tetradic
#912271 #917922 #229142 #223A91
square
#912271 #917922 #229142 #223A91
split-complementary
#912271 #3A9122 #229179
monochromatic
#2E0B24 #5F164A #912271 #C32E98 #D756B2
Accessibility & contrast
On white
7.86
#912271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#912271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912271
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912271 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9A2347
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #912271; /* rgb */ color: rgb(145, 34, 113); /* oklch */ color: oklch(45.9% 0.167 342.2);
Tailwind
colors: {
custom: {
50: '#b5699a',
500: '#912271',
950: '#000000',
},
}SCSS
$custom: #912271; $custom-light: #b5699a; $custom-dark: #000000;
JSON
{
"hex": "#912271",
"rgb": {
"r": 145,
"g": 34,
"b": 113
},
"hsl": {
"h": 317.297,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.45939,
"c": 0.16721,
"h": 342.2
},
"luminance": 0.08356
}Semantic roles & 50–950 ramp
primary
#912271
secondary
#53BB71
accent
#E57243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E