#902E72#902E72

#902E72 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.152 H 342.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#902E72
RGBrgb(144, 46, 114)
HSLhsl(318, 52%, 37%)
HSVhsv(318, 68%, 56%)
CMYKcmyk(0%, 68.1%, 20.8%, 43.5%)
CIE-LABlab(36.18, 48.37, -17.43)
CIE-LCHlch(36.18, 51.42, 340.18°)
OKLaboklab(46.98% 0.1448 -0.0467)
OKLCHoklch(46.98% 0.152 342.1)
XYZxyz(15.5163, 9.0997, 16.8556)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E72 #2E904C
analogous
#7D2E90 #902E72 #902E41
triadic
#902E72 #72902E #2E7290
tetradic
#902E72 #907D2E #2E904C #2E4190
square
#902E72 #907D2E #2E904C #2E4190
split-complementary
#902E72 #41902E #2E907D
monochromatic
#331029 #621F4D #902E72 #BE3D97 #CF69B0

Accessibility & contrast

On white

7.45
#902E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902E72
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E72#FFFFFF#000000##FFFFFF
##902E721.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#992F4C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902e72;
/* rgb */ color: rgb(144, 46, 114);
/* oklch */ color: oklch(47.0% 0.152 342.1);
Tailwind
colors: {
  custom: {
    50: '#b46e9a',
    500: '#902e72',
    950: '#000000',
  },
}
SCSS
$custom: #902e72;
$custom-light: #b46e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902e72",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 318.367,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.15211,
    "h": 342.1
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#902E72
secondary
#64B67D
accent
#DB784D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #902E72

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

Preview Lab → · Contrast checker → · Palette generator →

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