#912971#912971

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

Color values

HEX#912971
RGBrgb(145, 41, 113)
HSLhsl(318, 56%, 36%)
HSVhsv(318, 72%, 57%)
CMYKcmyk(0%, 71.7%, 22.1%, 43.1%)
CIE-LABlab(35.60, 50.49, -17.68)
CIE-LCHlch(35.60, 53.50, 340.70°)
OKLaboklab(46.58% 0.1516 -0.0473)
OKLCHoklch(46.58% 0.159 342.7)
XYZxyz(15.4511, 8.7994, 16.5043)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912971 #299149
analogous
#7D2991 #912971 #91293D
triadic
#912971 #719129 #297191
tetradic
#912971 #917D29 #299149 #293D91
square
#912971 #917D29 #299149 #293D91
split-complementary
#912971 #3D9129 #29917D
monochromatic
#320E27 #611C4C #912971 #C13696 #D362B0

Accessibility & contrast

On white

7.61
#912971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#912971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912971
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912971#FFFFFF#000000##FFFFFF
##9129711.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#9A2A49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912971;
/* rgb */ color: rgb(145, 41, 113);
/* oklch */ color: oklch(46.6% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#b56c9a',
    500: '#912971',
    950: '#000000',
  },
}
SCSS
$custom: #912971;
$custom-light: #b56c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#912971",
  "rgb": {
    "r": 145,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 318.462,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.15885,
    "h": 342.7
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#912971
secondary
#5DB879
accent
#DF7749
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912971

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

Preview Lab → · Contrast checker → · Palette generator →

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