#902E71#902E71

#902E71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.151 H 342.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#902E71
RGBrgb(144, 46, 113)
HSLhsl(319, 52%, 37%)
HSVhsv(319, 68%, 56%)
CMYKcmyk(0%, 68.1%, 21.5%, 43.5%)
CIE-LABlab(36.13, 48.23, -16.87)
CIE-LCHlch(36.13, 51.09, 340.72°)
OKLaboklab(46.94% 0.1446 -0.0451)
OKLCHoklch(46.94% 0.151 342.7)
XYZxyz(15.4597, 9.0770, 16.5574)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E71 #2E904D
analogous
#7E2E90 #902E71 #902E40
triadic
#902E71 #71902E #2E7190
tetradic
#902E71 #907E2E #2E904D #2E4090
square
#902E71 #907E2E #2E904D #2E4090
split-complementary
#902E71 #40902E #2E907E
monochromatic
#331028 #621F4D #902E71 #BE3D95 #CF69AF

Accessibility & contrast

On white

7.46
#902E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#902E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E71
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E71#FFFFFF#000000##FFFFFF
##902E711.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#992F4B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902e71;
/* rgb */ color: rgb(144, 46, 113);
/* oklch */ color: oklch(46.9% 0.151 342.7);
Tailwind
colors: {
  custom: {
    50: '#b46e9a',
    500: '#902e71',
    950: '#000000',
  },
}
SCSS
$custom: #902e71;
$custom-light: #b46e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902e71",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 318.98,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.15143,
    "h": 342.7
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#902E71
secondary
#64B67E
accent
#DB7A4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #902E71

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

Preview Lab → · Contrast checker → · Palette generator →

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