#912873#912873

#912873 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 341.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#912873
RGBrgb(145, 40, 115)
HSLhsl(317, 57%, 36%)
HSVhsv(317, 72%, 57%)
CMYKcmyk(0%, 72.4%, 20.7%, 43.1%)
CIE-LABlab(35.55, 51.15, -19.01)
CIE-LCHlch(35.55, 54.57, 339.61°)
OKLaboklab(46.57% 0.1532 -0.0511)
OKLCHoklch(46.57% 0.161 341.6)
XYZxyz(15.5308, 8.7767, 17.0925)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912873 #289146
analogous
#7B2891 #912873 #91283F
triadic
#912873 #739128 #287391
tetradic
#912873 #917B28 #289146 #283F91
square
#912873 #917B28 #289146 #283F91
split-complementary
#912873 #3F9128 #28917B
monochromatic
#310E27 #611B4D #912873 #C13599 #D360B2

Accessibility & contrast

On white

7.62
#912873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#912873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912873
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912873#FFFFFF#000000##FFFFFF
##9128731.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#9A2A4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912873;
/* rgb */ color: rgb(145, 40, 115);
/* oklch */ color: oklch(46.6% 0.161 341.6);
Tailwind
colors: {
  custom: {
    50: '#b56c9b',
    500: '#912873',
    950: '#000000',
  },
}
SCSS
$custom: #912873;
$custom-light: #b56c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#912873",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 317.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.16144,
    "h": 341.6
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#912873
secondary
#5CB977
accent
#E07348
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912873

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

Preview Lab → · Contrast checker → · Palette generator →

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