#901872#901872

#901872 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.177 H 340.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#901872
RGBrgb(144, 24, 114)
HSLhsl(315, 71%, 33%)
HSVhsv(315, 83%, 56%)
CMYKcmyk(0%, 83.3%, 20.8%, 43.5%)
CIE-LABlab(33.56, 55.77, -21.48)
CIE-LCHlch(33.56, 59.76, 338.94°)
OKLaboklab(45.08% 0.1673 -0.0579)
OKLCHoklch(45.08% 0.177 340.9)
XYZxyz(14.8660, 7.7990, 16.6388)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901872 #189036
analogous
#721890 #901872 #901836
triadic
#901872 #729018 #187290
tetradic
#901872 #907218 #189036 #183690
square
#901872 #907218 #189036 #183690
split-complementary
#901872 #369018 #189072
monochromatic
#27071F #5C0F48 #901872 #C4219C #E043B8

Accessibility & contrast

On white

8.21
#901872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#901872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901872
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901872#FFFFFF#000000##FFFFFF
##9018721.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#991C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #901872;
/* rgb */ color: rgb(144, 24, 114);
/* oklch */ color: oklch(45.1% 0.177 340.9);
Tailwind
colors: {
  custom: {
    50: '#b5659a',
    500: '#901872',
    950: '#000000',
  },
}
SCSS
$custom: #901872;
$custom-light: #b5659a;
$custom-dark: #000000;
JSON
{
  "hex": "#901872",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.17706,
    "h": 340.9
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#901872
secondary
#43C063
accent
#EE673A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901872

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

Preview Lab → · Contrast checker → · Palette generator →

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