#902B71#902B71

#902B71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.156 H 342.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#902B71
RGBrgb(144, 43, 113)
HSLhsl(318, 54%, 37%)
HSVhsv(318, 70%, 56%)
CMYKcmyk(0%, 70.1%, 21.5%, 43.5%)
CIE-LABlab(35.70, 49.44, -17.54)
CIE-LCHlch(35.70, 52.46, 340.47°)
OKLaboklab(46.62% 0.1483 -0.047)
OKLCHoklch(46.62% 0.156 342.4)
XYZxyz(15.3466, 8.8508, 16.5197)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B71 #2B904A
analogous
#7D2B90 #902B71 #902B3F
triadic
#902B71 #71902B #2B7190
tetradic
#902B71 #907D2B #2B904A #2B3F90
square
#902B71 #907D2B #2B904A #2B3F90
split-complementary
#902B71 #3F902B #2B907D
monochromatic
#320F27 #611D4C #902B71 #BF3996 #D165B0

Accessibility & contrast

On white

7.58
#902B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#902B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B71
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B71#FFFFFF#000000##FFFFFF
##902B711.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#992C4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902b71;
/* rgb */ color: rgb(144, 43, 113);
/* oklch */ color: oklch(46.6% 0.156 342.4);
Tailwind
colors: {
  custom: {
    50: '#b46d9a',
    500: '#902b71',
    950: '#000000',
  },
}
SCSS
$custom: #902b71;
$custom-light: #b46d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902b71",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 318.416,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.15552,
    "h": 342.4
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#902B71
secondary
#60B77B
accent
#DD784A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902B71

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

Preview Lab → · Contrast checker → · Palette generator →

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