#902A74#902A74

#902A74 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.159 H 340.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#902A74
RGBrgb(144, 42, 116)
HSLhsl(316, 55%, 36%)
HSVhsv(316, 71%, 56%)
CMYKcmyk(0%, 70.8%, 19.4%, 43.5%)
CIE-LABlab(35.69, 50.27, -19.44)
CIE-LCHlch(35.69, 53.90, 338.86°)
OKLaboklab(46.66% 0.15 -0.0523)
OKLCHoklch(46.66% 0.159 340.8)
XYZxyz(15.4824, 8.8477, 17.4120)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A74 #2A9046
analogous
#792A90 #902A74 #902A41
triadic
#902A74 #74902A #2A7490
tetradic
#902A74 #90792A #2A9046 #2A4190
square
#902A74 #90792A #2A9046 #2A4190
split-complementary
#902A74 #41902A #2A9079
monochromatic
#310E28 #611C4E #902A74 #BF389A #D163B3

Accessibility & contrast

On white

7.58
#902A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#902A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A74
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A74#FFFFFF#000000##FFFFFF
##902A741.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#992C4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902a74;
/* rgb */ color: rgb(144, 42, 116);
/* oklch */ color: oklch(46.7% 0.159 340.8);
Tailwind
colors: {
  custom: {
    50: '#b46d9c',
    500: '#902a74',
    950: '#000000',
  },
}
SCSS
$custom: #902a74;
$custom-light: #b46d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#902a74",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 316.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.15887,
    "h": 340.8
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#902A74
secondary
#5EB777
accent
#DE724A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902A74

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

Preview Lab → · Contrast checker → · Palette generator →

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