#912871#912871

#912871 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.160 H 342.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#912871
RGBrgb(145, 40, 113)
HSLhsl(318, 57%, 36%)
HSVhsv(318, 72%, 57%)
CMYKcmyk(0%, 72.4%, 22.1%, 43.1%)
CIE-LABlab(35.46, 50.87, -17.89)
CIE-LCHlch(35.46, 53.92, 340.63°)
OKLaboklab(46.48% 0.1528 -0.0479)
OKLCHoklch(46.48% 0.16 342.6)
XYZxyz(15.4170, 8.7311, 16.4929)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912871 #289148
analogous
#7D2891 #912871 #91283D
triadic
#912871 #719128 #287191
tetradic
#912871 #917D28 #289148 #283D91
square
#912871 #917D28 #289148 #283D91
split-complementary
#912871 #3D9128 #28917D
monochromatic
#310E26 #611B4C #912871 #C13596 #D360B0

Accessibility & contrast

On white

7.65
#912871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #912871
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912871#FFFFFF#000000##FFFFFF
##9128711.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#9A2949
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #912871;
/* rgb */ color: rgb(145, 40, 113);
/* oklch */ color: oklch(46.5% 0.160 342.6);
Tailwind
colors: {
  custom: {
    50: '#b56c9a',
    500: '#912871',
    950: '#000000',
  },
}
SCSS
$custom: #912871;
$custom-light: #b56c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#912871",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 318.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.16012,
    "h": 342.6
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#912871
secondary
#5CB978
accent
#E07648
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912871

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

Preview Lab → · Contrast checker → · Palette generator →

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