#912170#912170

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

Color values

HEX#912170
RGBrgb(145, 33, 112)
HSLhsl(318, 63%, 35%)
HSVhsv(318, 77%, 57%)
CMYKcmyk(0%, 77.2%, 22.8%, 43.1%)
CIE-LABlab(34.56, 53.16, -18.65)
CIE-LCHlch(34.56, 56.33, 340.67°)
OKLaboklab(45.81% 0.16 -0.05)
OKLCHoklch(45.81% 0.168 342.6)
XYZxyz(15.1461, 8.2789, 16.1264)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912170 #219142
analogous
#7A2191 #912170 #912138
triadic
#912170 #709121 #217091
tetradic
#912170 #917A21 #219142 #213891
square
#912170 #917A21 #219142 #213891
split-complementary
#912170 #389121 #21917A
monochromatic
#2D0A23 #5F1649 #912170 #C32C97 #D854B1

Accessibility & contrast

On white

7.91
#912170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #912170
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912170#FFFFFF#000000##FFFFFF
##9121701.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912170;
/* rgb */ color: rgb(145, 33, 112);
/* oklch */ color: oklch(45.8% 0.168 342.6);
Tailwind
colors: {
  custom: {
    50: '#b56999',
    500: '#912170',
    950: '#000000',
  },
}
SCSS
$custom: #912170;
$custom-light: #b56999;
$custom-dark: #000000;
JSON
{
  "hex": "#912170",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 317.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.16767,
    "h": 342.6
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#912170
secondary
#52BC71
accent
#E67242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912170

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

Preview Lab → · Contrast checker → · Palette generator →

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