#901878#901878

#901878 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.4% C 0.181 H 338.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#901878
RGBrgb(144, 24, 120)
HSLhsl(312, 71%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 83.3%, 16.7%, 43.5%)
CIE-LABlab(33.86, 56.60, -24.80)
CIE-LCHlch(33.86, 61.80, 336.34°)
OKLaboklab(45.4% 0.168 -0.0674)
OKLCHoklch(45.4% 0.181 338.1)
XYZxyz(15.2188, 7.9401, 18.4968)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901878 #189030
analogous
#6C1890 #901878 #90183C
triadic
#901878 #789018 #187890
tetradic
#901878 #906C18 #189030 #183C90
square
#901878 #906C18 #189030 #183C90
split-complementary
#901878 #3C9018 #18906C
monochromatic
#270721 #5C0F4C #901878 #C421A4 #E043C0

Accessibility & contrast

On white

8.12
#901878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#901878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901878
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901878#FFFFFF#000000##FFFFFF
##9018781.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#982048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901878;
/* rgb */ color: rgb(144, 24, 120);
/* oklch */ color: oklch(45.4% 0.181 338.1);
Tailwind
colors: {
  custom: {
    50: '#b4669f',
    500: '#901878',
    950: '#000000',
  },
}
SCSS
$custom: #901878;
$custom-light: #b4669f;
$custom-dark: #000000;
JSON
{
  "hex": "#901878",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 312,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.18099,
    "h": 338.1
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#901878
secondary
#43C05C
accent
#EE5E3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901878

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

Preview Lab → · Contrast checker → · Palette generator →

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