#901278#901278

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

Color values

HEX#901278
RGBrgb(144, 18, 120)
HSLhsl(311, 78%, 32%)
HSVhsv(311, 88%, 56%)
CMYKcmyk(0%, 87.5%, 16.7%, 43.5%)
CIE-LABlab(33.39, 57.96, -25.53)
CIE-LCHlch(33.39, 63.33, 336.22°)
OKLaboklab(45.06% 0.172 -0.0695)
OKLCHoklch(45.06% 0.186 338)
XYZxyz(15.1085, 7.7195, 18.4600)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901278 #12902A
analogous
#691290 #901278 #901239
triadic
#901278 #789012 #127890
tetradic
#901278 #906912 #12902A #123990
square
#901278 #906912 #12902A #123990
split-complementary
#901278 #399012 #129069
monochromatic
#23041D #5A0B4B #901278 #C619A5 #E636C5

Accessibility & contrast

On white

8.26
#901278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901278
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901278#FFFFFF#000000##FFFFFF
##9012781.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#981C47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #901278;
/* rgb */ color: rgb(144, 18, 120);
/* oklch */ color: oklch(45.1% 0.186 338.0);
Tailwind
colors: {
  custom: {
    50: '#b5649f',
    500: '#901278',
    950: '#000000',
  },
}
SCSS
$custom: #901278;
$custom-light: #b5649f;
$custom-dark: #000000;
JSON
{
  "hex": "#901278",
  "rgb": {
    "r": 144,
    "g": 18,
    "b": 120
  },
  "hsl": {
    "h": 311.429,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45061,
    "c": 0.18554,
    "h": 338
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#901278
secondary
#3AC454
accent
#F45834
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901278

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

Preview Lab → · Contrast checker → · Palette generator →

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