#902C7E#902C7E

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

Color values

HEX#902C7E
RGBrgb(144, 44, 126)
HSLhsl(311, 53%, 37%)
HSVhsv(311, 69%, 56%)
CMYKcmyk(0%, 69.4%, 12.5%, 43.5%)
CIE-LABlab(36.44, 51.01, -24.53)
CIE-LCHlch(36.44, 56.60, 334.32°)
OKLaboklab(47.36% 0.1492 -0.0668)
OKLCHoklch(47.36% 0.163 335.9)
XYZxyz(16.1684, 9.2384, 20.6663)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C7E #2C903E
analogous
#702C90 #902C7E #902C4C
triadic
#902C7E #7E902C #2C7E90
tetradic
#902C7E #90702C #2C903E #2C4C90
square
#902C7E #90702C #2C903E #2C4C90
split-complementary
#902C7E #4C902C #2C9070
monochromatic
#320F2C #611E55 #902C7E #BF3AA7 #D066BD

Accessibility & contrast

On white

7.38
#902C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C7E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C7E#FFFFFF#000000##FFFFFF
##902C7E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#973251
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902c7e;
/* rgb */ color: rgb(144, 44, 126);
/* oklch */ color: oklch(47.4% 0.163 335.9);
Tailwind
colors: {
  custom: {
    50: '#b46ea3',
    500: '#902c7e',
    950: '#000000',
  },
}
SCSS
$custom: #902c7e;
$custom-light: #b46ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#902c7e",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 310.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47355,
    "c": 0.16346,
    "h": 335.9
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#902C7E
secondary
#61B770
accent
#DD654B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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