#912978#912978

#912978 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 339.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#912978
RGBrgb(145, 41, 120)
HSLhsl(314, 56%, 36%)
HSVhsv(314, 72%, 57%)
CMYKcmyk(0%, 71.7%, 17.2%, 43.1%)
CIE-LABlab(35.91, 51.51, -21.59)
CIE-LCHlch(35.91, 55.85, 337.26°)
OKLaboklab(46.91% 0.1529 -0.0584)
OKLCHoklch(46.91% 0.164 339.1)
XYZxyz(15.8605, 8.9632, 18.6604)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912978 #299142
analogous
#762991 #912978 #912944
triadic
#912978 #789129 #297891
tetradic
#912978 #917629 #299142 #294491
square
#912978 #917629 #299142 #294491
split-complementary
#912978 #449129 #299176
monochromatic
#320E29 #611C51 #912978 #C1369F #D362B7

Accessibility & contrast

On white

7.52
#912978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#912978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912978
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912978#FFFFFF#000000##FFFFFF
##9129781.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#505A76
Tritanopia (blue-blind)
#992D4D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912978;
/* rgb */ color: rgb(145, 41, 120);
/* oklch */ color: oklch(46.9% 0.164 339.1);
Tailwind
colors: {
  custom: {
    50: '#b56c9f',
    500: '#912978',
    950: '#000000',
  },
}
SCSS
$custom: #912978;
$custom-light: #b56c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#912978",
  "rgb": {
    "r": 145,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 314.423,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46912,
    "c": 0.16362,
    "h": 339.1
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#912978
secondary
#5DB873
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912978

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

Preview Lab → · Contrast checker → · Palette generator →

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