#912158#912158

#912158 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.155 H 355.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#912158
RGBrgb(145, 33, 88)
HSLhsl(331, 63%, 35%)
HSVhsv(331, 77%, 57%)
CMYKcmyk(0%, 77.2%, 39.3%, 43.1%)
CIE-LABlab(33.59, 50.19, -4.74)
CIE-LCHlch(33.59, 50.42, 354.61°)
OKLaboklab(44.79% 0.1542 -0.0118)
OKLCHoklch(44.79% 0.155 355.6)
XYZxyz(13.9833, 7.8138, 10.0025)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912158 #21915A
analogous
#912190 #912158 #912221
triadic
#912158 #589121 #215891
tetradic
#912158 #909121 #21915A #222191
square
#912158 #909121 #21915A #222191
split-complementary
#912158 #219122 #219091
monochromatic
#2D0A1B #5F163A #912158 #C32C76 #D85495

Accessibility & contrast

On white

8.20
#912158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#912158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912158
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912158#FFFFFF#000000##FFFFFF
##9121581.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#575655
Tritanopia (blue-blind)
#9D1339
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #912158;
/* rgb */ color: rgb(145, 33, 88);
/* oklch */ color: oklch(44.8% 0.155 355.6);
Tailwind
colors: {
  custom: {
    50: '#b66887',
    500: '#912158',
    950: '#000000',
  },
}
SCSS
$custom: #912158;
$custom-light: #b66887;
$custom-dark: #000000;
JSON
{
  "hex": "#912158",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 330.536,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.15463,
    "h": 355.6
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#912158
secondary
#52BC88
accent
#E69542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #912158

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

Preview Lab → · Contrast checker → · Palette generator →

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