#902771#902771

#902771 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 342.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#902771
RGBrgb(144, 39, 113)
HSLhsl(318, 57%, 36%)
HSVhsv(318, 73%, 56%)
CMYKcmyk(0%, 72.9%, 21.5%, 43.5%)
CIE-LABlab(35.15, 50.97, -18.38)
CIE-LCHlch(35.15, 54.18, 340.17°)
OKLaboklab(46.22% 0.1529 -0.0493)
OKLCHoklch(46.22% 0.161 342.1)
XYZxyz(15.2082, 8.5741, 16.4736)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902771 #279046
analogous
#7A2790 #902771 #90273C
triadic
#902771 #719027 #277190
tetradic
#902771 #907A27 #279046 #273C90
square
#902771 #907A27 #279046 #273C90
split-complementary
#902771 #3C9027 #27907A
monochromatic
#300D25 #601A4B #902771 #C03497 #D35EB1

Accessibility & contrast

On white

7.74
#902771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#902771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902771
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902771#FFFFFF#000000##FFFFFF
##9027711.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#992848
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902771;
/* rgb */ color: rgb(144, 39, 113);
/* oklch */ color: oklch(46.2% 0.161 342.1);
Tailwind
colors: {
  custom: {
    50: '#b46b9a',
    500: '#902771',
    950: '#000000',
  },
}
SCSS
$custom: #902771;
$custom-light: #b46b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902771",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 317.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.16065,
    "h": 342.1
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#902771
secondary
#5AB976
accent
#E17447
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902771

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

Preview Lab → · Contrast checker → · Palette generator →

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