#901178#901178

#901178 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 338.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#901178
RGBrgb(144, 17, 120)
HSLhsl(311, 79%, 32%)
HSVhsv(311, 88%, 56%)
CMYKcmyk(0%, 88.2%, 16.7%, 43.5%)
CIE-LABlab(33.32, 58.15, -25.64)
CIE-LCHlch(33.32, 63.55, 336.21°)
OKLaboklab(45.01% 0.1726 -0.0698)
OKLCHoklch(45.01% 0.186 338)
XYZxyz(15.0926, 7.6878, 18.4547)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901178 #119029
analogous
#691190 #901178 #901138
triadic
#901178 #789011 #117890
tetradic
#901178 #906911 #119029 #113890
square
#901178 #906911 #119029 #113890
split-complementary
#901178 #389011 #119069
monochromatic
#23041D #590B4A #901178 #C717A6 #E734C5

Accessibility & contrast

On white

8.28
#901178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#901178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901178
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901178#FFFFFF#000000##FFFFFF
##9011781.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#981B47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #901178;
/* rgb */ color: rgb(144, 17, 120);
/* oklch */ color: oklch(45.0% 0.186 338.0);
Tailwind
colors: {
  custom: {
    50: '#b5649f',
    500: '#901178',
    950: '#000000',
  },
}
SCSS
$custom: #901178;
$custom-light: #b5649f;
$custom-dark: #000000;
JSON
{
  "hex": "#901178",
  "rgb": {
    "r": 144,
    "g": 17,
    "b": 120
  },
  "hsl": {
    "h": 311.339,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.1862,
    "h": 338
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#901178
secondary
#39C453
accent
#F55732
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901178

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

Preview Lab → · Contrast checker → · Palette generator →

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