#902A4C#902A4C

#902A4C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.139 H 4.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#902A4C
RGBrgb(144, 42, 76)
HSLhsl(340, 55%, 36%)
HSVhsv(340, 71%, 56%)
CMYKcmyk(0%, 70.8%, 47.2%, 43.5%)
CIE-LABlab(34.21, 45.33, 3.92)
CIE-LCHlch(34.21, 45.50, 4.94°)
OKLaboklab(45.08% 0.1385 0.0105)
OKLCHoklch(45.08% 0.139 4.3)
XYZxyz(13.6351, 8.1088, 7.6832)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A4C #2A906E
analogous
#902A7F #902A4C #903B2A
triadic
#902A4C #4C902A #2A4C90
tetradic
#902A4C #7F902A #2A906E #3B2A90
square
#902A4C #7F902A #2A906E #3B2A90
split-complementary
#902A4C #2A903B #2A7F90
monochromatic
#310E1A #611C33 #902A4C #BF3865 #D16388

Accessibility & contrast

On white

8.01
#902A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#902A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A4C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A4C#FFFFFF#000000##FFFFFF
##902A4C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#5C584A
Tritanopia (blue-blind)
#9D1A38
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #902a4c;
/* rgb */ color: rgb(144, 42, 76);
/* oklch */ color: oklch(45.1% 0.139 4.3);
Tailwind
colors: {
  custom: {
    50: '#b56b7d',
    500: '#902a4c',
    950: '#000000',
  },
}
SCSS
$custom: #902a4c;
$custom-light: #b56b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#902a4c",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 340,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.13891,
    "h": 4.3
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#902A4C
secondary
#5EB79A
accent
#DEAD4A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #902A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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