#901979#901979

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

Color values

HEX#901979
RGBrgb(144, 25, 121)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 82.6%, 16%, 43.5%)
CIE-LABlab(34.00, 56.49, -25.22)
CIE-LCHlch(34.00, 61.87, 335.95°)
OKLaboklab(45.51% 0.1673 -0.0686)
OKLCHoklch(45.51% 0.181 337.7)
XYZxyz(15.3008, 8.0065, 18.8251)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901979 #199030
analogous
#6B1990 #901979 #90193D
triadic
#901979 #799019 #197990
tetradic
#901979 #906B19 #199030 #193D90
square
#901979 #906B19 #199030 #193D90
split-complementary
#901979 #3D9019 #19906B
monochromatic
#280721 #5C104D #901979 #C422A5 #DF45C1

Accessibility & contrast

On white

8.07
#901979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901979
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901979#FFFFFF#000000##FFFFFF
##9019791.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#982149
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901979;
/* rgb */ color: rgb(144, 25, 121);
/* oklch */ color: oklch(45.5% 0.181 337.7);
Tailwind
colors: {
  custom: {
    50: '#b466a0',
    500: '#901979',
    950: '#000000',
  },
}
SCSS
$custom: #901979;
$custom-light: #b466a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901979",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 311.597,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.1808,
    "h": 337.7
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#901979
secondary
#45C05D
accent
#ED5D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901979

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

Preview Lab → · Contrast checker → · Palette generator →

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