#901B7B#901B7B

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

Color values

HEX#901B7B
RGBrgb(144, 27, 123)
HSLhsl(311, 68%, 34%)
HSVhsv(311, 81%, 56%)
CMYKcmyk(0%, 81.3%, 14.6%, 43.5%)
CIE-LABlab(34.28, 56.25, -26.03)
CIE-LCHlch(34.28, 61.98, 335.17°)
OKLaboklab(45.75% 0.1659 -0.0709)
OKLCHoklch(45.75% 0.18 336.8)
XYZxyz(15.4690, 8.1447, 19.4925)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B7B #1B9030
analogous
#6A1B90 #901B7B #901B40
triadic
#901B7B #7B901B #1B7B90
tetradic
#901B7B #906A1B #1B9030 #1B4090
square
#901B7B #906A1B #1B9030 #1B4090
split-complementary
#901B7B #40901B #1B906A
monochromatic
#290823 #5C114F #901B7B #C425A7 #DD49C2

Accessibility & contrast

On white

7.99
#901B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901B7B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B7B#FFFFFF#000000##FFFFFF
##901B7B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#98244A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901b7b;
/* rgb */ color: rgb(144, 27, 123);
/* oklch */ color: oklch(45.7% 0.180 336.8);
Tailwind
colors: {
  custom: {
    50: '#b467a1',
    500: '#901b7b',
    950: '#000000',
  },
}
SCSS
$custom: #901b7b;
$custom-light: #b467a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901b7b",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 310.769,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.18039,
    "h": 336.8
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#901B7B
secondary
#48BF5D
accent
#EB5C3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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