#902E7B#902E7B

#902E7B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.159 H 337.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#902E7B
RGBrgb(144, 46, 123)
HSLhsl(313, 52%, 37%)
HSVhsv(313, 68%, 56%)
CMYKcmyk(0%, 68.1%, 14.6%, 43.5%)
CIE-LABlab(36.58, 49.73, -22.43)
CIE-LCHlch(36.58, 54.56, 335.72°)
OKLaboklab(47.41% 0.1464 -0.0608)
OKLCHoklch(47.41% 0.159 337.4)
XYZxyz(16.0540, 9.3148, 19.6875)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E7B #2E9043
analogous
#742E90 #902E7B #902E4A
triadic
#902E7B #7B902E #2E7B90
tetradic
#902E7B #90742E #2E9043 #2E4A90
square
#902E7B #90742E #2E9043 #2E4A90
split-complementary
#902E7B #4A902E #2E9074
monochromatic
#33102C #621F53 #902E7B #BE3DA3 #CF69B9

Accessibility & contrast

On white

7.34
#902E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E7B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E7B#FFFFFF#000000##FFFFFF
##902E7B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#983350
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902e7b;
/* rgb */ color: rgb(144, 46, 123);
/* oklch */ color: oklch(47.4% 0.159 337.4);
Tailwind
colors: {
  custom: {
    50: '#b46fa1',
    500: '#902e7b',
    950: '#000000',
  },
}
SCSS
$custom: #902e7b;
$custom-light: #b46fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#902e7b",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 312.857,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.15852,
    "h": 337.4
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#902E7B
secondary
#64B675
accent
#DB6B4D
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #902E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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