#912173#912173

#912173 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.170 H 341.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#912173
RGBrgb(145, 33, 115)
HSLhsl(316, 63%, 35%)
HSVhsv(316, 77%, 57%)
CMYKcmyk(0%, 77.2%, 20.7%, 43.1%)
CIE-LABlab(34.69, 53.57, -20.33)
CIE-LCHlch(34.69, 57.30, 339.22°)
OKLaboklab(45.95% 0.1605 -0.0547)
OKLCHoklch(45.95% 0.17 341.2)
XYZxyz(15.3159, 8.3468, 17.0208)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912173 #21913F
analogous
#772191 #912173 #91213B
triadic
#912173 #739121 #217391
tetradic
#912173 #917721 #21913F #213B91
square
#912173 #917721 #21913F #213B91
split-complementary
#912173 #3B9121 #219177
monochromatic
#2D0A24 #5F164B #912173 #C32C9B #D854B5

Accessibility & contrast

On white

7.87
#912173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#912173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912173
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912173#FFFFFF#000000##FFFFFF
##9121731.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#9A2448
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #912173;
/* rgb */ color: rgb(145, 33, 115);
/* oklch */ color: oklch(46.0% 0.170 341.2);
Tailwind
colors: {
  custom: {
    50: '#b5699b',
    500: '#912173',
    950: '#000000',
  },
}
SCSS
$custom: #912173;
$custom-light: #b5699b;
$custom-dark: #000000;
JSON
{
  "hex": "#912173",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 316.071,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.16961,
    "h": 341.2
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#912173
secondary
#52BC6E
accent
#E66E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912173

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

Preview Lab → · Contrast checker → · Palette generator →

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