#901778#901778

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

Color values

HEX#901778
RGBrgb(144, 23, 120)
HSLhsl(312, 72%, 33%)
HSVhsv(312, 84%, 56%)
CMYKcmyk(0%, 84%, 16.7%, 43.5%)
CIE-LABlab(33.77, 56.85, -24.94)
CIE-LCHlch(33.77, 62.08, 336.31°)
OKLaboklab(45.33% 0.1687 -0.0678)
OKLCHoklch(45.33% 0.182 338.1)
XYZxyz(15.1985, 7.8997, 18.4900)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901778 #17902F
analogous
#6B1790 #901778 #90173B
triadic
#901778 #789017 #177890
tetradic
#901778 #906B17 #17902F #173B90
square
#901778 #906B17 #17902F #173B90
split-complementary
#901778 #3B9017 #17906B
monochromatic
#260620 #5B0F4C #901778 #C51FA4 #E141C1

Accessibility & contrast

On white

8.14
#901778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#901778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901778
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901778#FFFFFF#000000##FFFFFF
##9017781.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#981F48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #901778;
/* rgb */ color: rgb(144, 23, 120);
/* oklch */ color: oklch(45.3% 0.182 338.1);
Tailwind
colors: {
  custom: {
    50: '#b4659f',
    500: '#901778',
    950: '#000000',
  },
}
SCSS
$custom: #901778;
$custom-light: #b4659f;
$custom-dark: #000000;
JSON
{
  "hex": "#901778",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 311.901,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.18181,
    "h": 338.1
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#901778
secondary
#42C15B
accent
#EF5D39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901778

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

Preview Lab → · Contrast checker → · Palette generator →

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