#901978#901978

#901978 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.5% C 0.180 H 338.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#901978
RGBrgb(144, 25, 120)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 82.6%, 16.7%, 43.5%)
CIE-LABlab(33.95, 56.35, -24.67)
CIE-LCHlch(33.95, 61.51, 336.36°)
OKLaboklab(45.46% 0.1672 -0.067)
OKLCHoklch(45.46% 0.18 338.2)
XYZxyz(15.2398, 7.9821, 18.5038)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901978 #199031
analogous
#6C1990 #901978 #90193C
triadic
#901978 #789019 #197890
tetradic
#901978 #906C19 #199031 #193C90
square
#901978 #906C19 #199031 #193C90
split-complementary
#901978 #3C9019 #19906C
monochromatic
#280721 #5C104D #901978 #C422A3 #DF45C0

Accessibility & contrast

On white

8.09
#901978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#901978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901978
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901978#FFFFFF#000000##FFFFFF
##9019781.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#982148
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901978;
/* rgb */ color: rgb(144, 25, 120);
/* oklch */ color: oklch(45.5% 0.180 338.2);
Tailwind
colors: {
  custom: {
    50: '#b4669f',
    500: '#901978',
    950: '#000000',
  },
}
SCSS
$custom: #901978;
$custom-light: #b4669f;
$custom-dark: #000000;
JSON
{
  "hex": "#901978",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 312.101,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.18013,
    "h": 338.2
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#901978
secondary
#45C05E
accent
#ED5F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901978

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

Preview Lab → · Contrast checker → · Palette generator →

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