#902071#902071

#902071 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 341.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#902071
RGBrgb(144, 32, 113)
HSLhsl(317, 64%, 35%)
HSVhsv(317, 78%, 56%)
CMYKcmyk(0%, 77.8%, 21.5%, 43.5%)
CIE-LABlab(34.31, 53.36, -19.69)
CIE-LCHlch(34.31, 56.88, 339.75°)
OKLaboklab(45.61% 0.1602 -0.0529)
OKLCHoklch(45.61% 0.169 341.7)
XYZxyz(14.9993, 8.1561, 16.4040)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902071 #20903F
analogous
#772090 #902071 #902039
triadic
#902071 #719020 #207190
tetradic
#902071 #907720 #20903F #203990
square
#902071 #907720 #20903F #203990
split-complementary
#902071 #399020 #209077
monochromatic
#2C0A22 #5E154A #902071 #C22B98 #D952B3

Accessibility & contrast

On white

7.98
#902071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#902071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902071
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902071#FFFFFF#000000##FFFFFF
##9020711.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#992246
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902071;
/* rgb */ color: rgb(144, 32, 113);
/* oklch */ color: oklch(45.6% 0.169 341.7);
Tailwind
colors: {
  custom: {
    50: '#b4689a',
    500: '#902071',
    950: '#000000',
  },
}
SCSS
$custom: #902071;
$custom-light: #b4689a;
$custom-dark: #000000;
JSON
{
  "hex": "#902071",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 316.607,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.16874,
    "h": 341.7
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#902071
secondary
#50BC6E
accent
#E76F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902071

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

Preview Lab → · Contrast checker → · Palette generator →

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