#902E7C#902E7C

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

Color values

HEX#902E7C
RGBrgb(144, 46, 124)
HSLhsl(312, 52%, 37%)
HSVhsv(312, 68%, 56%)
CMYKcmyk(0%, 68.1%, 13.9%, 43.5%)
CIE-LABlab(36.63, 49.89, -22.98)
CIE-LCHlch(36.63, 54.93, 335.27°)
OKLaboklab(47.46% 0.1465 -0.0624)
OKLCHoklch(47.46% 0.159 336.9)
XYZxyz(16.1169, 9.3399, 20.0188)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E7C #2E9042
analogous
#732E90 #902E7C #902E4B
triadic
#902E7C #7C902E #2E7C90
tetradic
#902E7C #90732E #2E9042 #2E4B90
square
#902E7C #90732E #2E9042 #2E4B90
split-complementary
#902E7C #4B902E #2E9073
monochromatic
#33102C #621F54 #902E7C #BE3DA4 #CF69BA

Accessibility & contrast

On white

7.32
#902E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#902E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E7C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E7C#FFFFFF#000000##FFFFFF
##902E7C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#983351
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902e7c;
/* rgb */ color: rgb(144, 46, 124);
/* oklch */ color: oklch(47.5% 0.159 336.9);
Tailwind
colors: {
  custom: {
    50: '#b46fa2',
    500: '#902e7c',
    950: '#000000',
  },
}
SCSS
$custom: #902e7c;
$custom-light: #b46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#902e7c",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 312.245,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.15926,
    "h": 336.9
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#902E7C
secondary
#64B675
accent
#DB6A4D
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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