#912171#912171

#912171 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.168 H 342.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#912171
RGBrgb(145, 33, 113)
HSLhsl(317, 63%, 35%)
HSVhsv(317, 77%, 57%)
CMYKcmyk(0%, 77.2%, 22.1%, 43.1%)
CIE-LABlab(34.60, 53.29, -19.21)
CIE-LCHlch(34.60, 56.65, 340.18°)
OKLaboklab(45.86% 0.1602 -0.0516)
OKLCHoklch(45.86% 0.168 342.2)
XYZxyz(15.2021, 8.3013, 16.4213)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912171 #219141
analogous
#792191 #912171 #912139
triadic
#912171 #719121 #217191
tetradic
#912171 #917921 #219141 #213991
square
#912171 #917921 #219141 #213991
split-complementary
#912171 #399121 #219179
monochromatic
#2D0A23 #5F164A #912171 #C32C98 #D854B2

Accessibility & contrast

On white

7.89
#912171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#912171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912171
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912171#FFFFFF#000000##FFFFFF
##9121711.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9A2246
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #912171;
/* rgb */ color: rgb(145, 33, 113);
/* oklch */ color: oklch(45.9% 0.168 342.2);
Tailwind
colors: {
  custom: {
    50: '#b5699a',
    500: '#912171',
    950: '#000000',
  },
}
SCSS
$custom: #912171;
$custom-light: #b5699a;
$custom-dark: #000000;
JSON
{
  "hex": "#912171",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 317.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.16831,
    "h": 342.2
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#912171
secondary
#52BC70
accent
#E67142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912171

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#912171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva