#901172#901172

#901172 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.7% C 0.182 H 340.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#901172
RGBrgb(144, 17, 114)
HSLhsl(314, 79%, 32%)
HSVhsv(314, 88%, 56%)
CMYKcmyk(0%, 88.2%, 20.8%, 43.5%)
CIE-LABlab(33.02, 57.34, -22.32)
CIE-LCHlch(33.02, 61.53, 338.73°)
OKLaboklab(44.7% 0.1721 -0.0603)
OKLCHoklch(44.7% 0.182 340.7)
XYZxyz(14.7398, 7.5467, 16.5967)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901172 #11902F
analogous
#6F1190 #901172 #901133
triadic
#901172 #729011 #117290
tetradic
#901172 #906F11 #11902F #113390
square
#901172 #906F11 #11902F #113390
split-complementary
#901172 #339011 #11906F
monochromatic
#23041B #590B47 #901172 #C7179D #E734BD

Accessibility & contrast

On white

8.37
#901172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#901172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901172
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901172#FFFFFF#000000##FFFFFF
##9011721.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#4A556F
Tritanopia (blue-blind)
#991643
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #901172;
/* rgb */ color: rgb(144, 17, 114);
/* oklch */ color: oklch(44.7% 0.182 340.7);
Tailwind
colors: {
  custom: {
    50: '#b5639b',
    500: '#901172',
    950: '#000000',
  },
}
SCSS
$custom: #901172;
$custom-light: #b5639b;
$custom-dark: #000000;
JSON
{
  "hex": "#901172",
  "rgb": {
    "r": 144,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 314.173,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44697,
    "c": 0.18236,
    "h": 340.7
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#901172
secondary
#39C45A
accent
#F56032
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901172

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

Preview Lab → · Contrast checker → · Palette generator →

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