#902A71#902A71

#902A71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.157 H 342.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#902A71
RGBrgb(144, 42, 113)
HSLhsl(318, 55%, 36%)
HSVhsv(318, 71%, 56%)
CMYKcmyk(0%, 70.8%, 21.5%, 43.5%)
CIE-LABlab(35.56, 49.83, -17.76)
CIE-LCHlch(35.56, 52.90, 340.39°)
OKLaboklab(46.51% 0.1494 -0.0476)
OKLCHoklch(46.51% 0.157 342.3)
XYZxyz(15.3107, 8.7790, 16.5078)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A71 #2A9049
analogous
#7C2A90 #902A71 #902A3E
triadic
#902A71 #71902A #2A7190
tetradic
#902A71 #907C2A #2A9049 #2A3E90
square
#902A71 #907C2A #2A9049 #2A3E90
split-complementary
#902A71 #3E902A #2A907C
monochromatic
#310E27 #611C4C #902A71 #BF3896 #D163B0

Accessibility & contrast

On white

7.62
#902A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#902A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A71
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A71#FFFFFF#000000##FFFFFF
##902A711.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#992B49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902a71;
/* rgb */ color: rgb(144, 42, 113);
/* oklch */ color: oklch(46.5% 0.157 342.3);
Tailwind
colors: {
  custom: {
    50: '#b46c9a',
    500: '#902a71',
    950: '#000000',
  },
}
SCSS
$custom: #902a71;
$custom-light: #b46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902a71",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 318.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.15683,
    "h": 342.3
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#902A71
secondary
#5EB779
accent
#DE774A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902A71

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

Preview Lab → · Contrast checker → · Palette generator →

#902A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva