#902A52#902A52

#902A52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.141 H 0.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#902A52
RGBrgb(144, 42, 82)
HSLhsl(336, 55%, 36%)
HSVhsv(336, 71%, 56%)
CMYKcmyk(0%, 70.8%, 43.1%, 43.5%)
CIE-LABlab(34.39, 45.94, 0.30)
CIE-LCHlch(34.39, 45.95, 0.37°)
OKLaboklab(45.28% 0.1407 0.0013)
OKLCHoklch(45.28% 0.141 0.5)
XYZxyz(13.8535, 8.1961, 8.8335)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A52 #2A9068
analogous
#902A85 #902A52 #90352A
triadic
#902A52 #52902A #2A5290
tetradic
#902A52 #85902A #2A9068 #352A90
square
#902A52 #85902A #2A9068 #352A90
split-complementary
#902A52 #2A9035 #2A8590
monochromatic
#310E1C #611C37 #902A52 #BF386D #D1638E

Accessibility & contrast

On white

7.96
#902A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#902A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A52
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A52#FFFFFF#000000##FFFFFF
##902A521.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#9C1D3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902a52;
/* rgb */ color: rgb(144, 42, 82);
/* oklch */ color: oklch(45.3% 0.141 0.5);
Tailwind
colors: {
  custom: {
    50: '#b56b82',
    500: '#902a52',
    950: '#000000',
  },
}
SCSS
$custom: #902a52;
$custom-light: #b56b82;
$custom-dark: #000000;
JSON
{
  "hex": "#902a52",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 336.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.14074,
    "h": 0.5
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#902A52
secondary
#5EB795
accent
#DEA44A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #902A52

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

Preview Lab → · Contrast checker → · Palette generator →

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