#901871#901871

#901871 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 341.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#901871
RGBrgb(144, 24, 113)
HSLhsl(316, 71%, 33%)
HSVhsv(316, 83%, 56%)
CMYKcmyk(0%, 83.3%, 21.5%, 43.5%)
CIE-LABlab(33.51, 55.63, -20.92)
CIE-LCHlch(33.51, 59.44, 339.40°)
OKLaboklab(45.03% 0.1672 -0.0564)
OKLCHoklch(45.03% 0.176 341.4)
XYZxyz(14.8094, 7.7764, 16.3407)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901871 #189037
analogous
#731890 #901871 #901835
triadic
#901871 #719018 #187190
tetradic
#901871 #907318 #189037 #183590
square
#901871 #907318 #189037 #183590
split-complementary
#901871 #359018 #189073
monochromatic
#27071F #5C0F48 #901871 #C4219A #E043B7

Accessibility & contrast

On white

8.22
#901871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#901871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901871
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901871#FFFFFF#000000##FFFFFF
##9018711.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#4C566E
Tritanopia (blue-blind)
#991B44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #901871;
/* rgb */ color: rgb(144, 24, 113);
/* oklch */ color: oklch(45.0% 0.176 341.4);
Tailwind
colors: {
  custom: {
    50: '#b5659a',
    500: '#901871',
    950: '#000000',
  },
}
SCSS
$custom: #901871;
$custom-light: #b5659a;
$custom-dark: #000000;
JSON
{
  "hex": "#901871",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 315.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.17642,
    "h": 341.4
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#901871
secondary
#43C064
accent
#EE683A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901871

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

Preview Lab → · Contrast checker → · Palette generator →

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