#902C7D#902C7D

#902C7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.163 H 336.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#902C7D
RGBrgb(144, 44, 125)
HSLhsl(311, 53%, 37%)
HSVhsv(311, 69%, 56%)
CMYKcmyk(0%, 69.4%, 13.2%, 43.5%)
CIE-LABlab(36.39, 50.85, -23.98)
CIE-LCHlch(36.39, 56.22, 334.75°)
OKLaboklab(47.3% 0.1491 -0.0652)
OKLCHoklch(47.3% 0.163 336.4)
XYZxyz(16.1042, 9.2127, 20.3281)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C7D #2C903F
analogous
#712C90 #902C7D #902C4B
triadic
#902C7D #7D902C #2C7D90
tetradic
#902C7D #90712C #2C903F #2C4B90
square
#902C7D #90712C #2C903F #2C4B90
split-complementary
#902C7D #4B902C #2C9071
monochromatic
#320F2C #611E54 #902C7D #BF3AA6 #D066BC

Accessibility & contrast

On white

7.39
#902C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#902C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C7D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C7D#FFFFFF#000000##FFFFFF
##902C7D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#973250
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902c7d;
/* rgb */ color: rgb(144, 44, 125);
/* oklch */ color: oklch(47.3% 0.163 336.4);
Tailwind
colors: {
  custom: {
    50: '#b46ea3',
    500: '#902c7d',
    950: '#000000',
  },
}
SCSS
$custom: #902c7d;
$custom-light: #b46ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#902c7d",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 311.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.1627,
    "h": 336.4
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#902C7D
secondary
#61B771
accent
#DD674B
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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