#901B7A#901B7A

#901B7A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 337.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#901B7A
RGBrgb(144, 27, 122)
HSLhsl(311, 68%, 34%)
HSVhsv(311, 81%, 56%)
CMYKcmyk(0%, 81.3%, 15.3%, 43.5%)
CIE-LABlab(34.23, 56.11, -25.48)
CIE-LCHlch(34.23, 61.62, 335.58°)
OKLaboklab(45.7% 0.1658 -0.0694)
OKLCHoklch(45.7% 0.18 337.3)
XYZxyz(15.4067, 8.1198, 19.1645)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B7A #1B9031
analogous
#6B1B90 #901B7A #901B3F
triadic
#901B7A #7A901B #1B7A90
tetradic
#901B7A #906B1B #1B9031 #1B3F90
square
#901B7A #906B1B #1B9031 #1B3F90
split-complementary
#901B7A #3F901B #1B906B
monochromatic
#290823 #5C114E #901B7A #C425A6 #DD49C1

Accessibility & contrast

On white

8.00
#901B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#901B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901B7A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B7A#FFFFFF#000000##FFFFFF
##901B7A1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#495777
Tritanopia (blue-blind)
#98234A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901b7a;
/* rgb */ color: rgb(144, 27, 122);
/* oklch */ color: oklch(45.7% 0.180 337.3);
Tailwind
colors: {
  custom: {
    50: '#b467a0',
    500: '#901b7a',
    950: '#000000',
  },
}
SCSS
$custom: #901b7a;
$custom-light: #b467a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901b7a",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 311.282,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.17971,
    "h": 337.3
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#901B7A
secondary
#48BF5E
accent
#EB5D3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901B7A

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

Preview Lab → · Contrast checker → · Palette generator →

#901B7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva