#902A7A#902A7A

#902A7A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.163 H 337.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#902A7A
RGBrgb(144, 42, 122)
HSLhsl(313, 55%, 36%)
HSVhsv(313, 71%, 56%)
CMYKcmyk(0%, 70.8%, 15.3%, 43.5%)
CIE-LABlab(35.97, 51.17, -22.77)
CIE-LCHlch(35.97, 56.00, 336.01°)
OKLaboklab(46.95% 0.151 -0.0617)
OKLCHoklch(46.95% 0.163 337.8)
XYZxyz(15.8427, 8.9918, 19.3098)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A7A #2A9040
analogous
#732A90 #902A7A #902A47
triadic
#902A7A #7A902A #2A7A90
tetradic
#902A7A #90732A #2A9040 #2A4790
square
#902A7A #90732A #2A9040 #2A4790
split-complementary
#902A7A #47902A #2A9073
monochromatic
#310E2A #611C52 #902A7A #BF38A2 #D163BA

Accessibility & contrast

On white

7.51
#902A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#902A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A7A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A7A#FFFFFF#000000##FFFFFF
##902A7A1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7C
Deuteranopia (green-blind)
#4F5A78
Tritanopia (blue-blind)
#982F4E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902a7a;
/* rgb */ color: rgb(144, 42, 122);
/* oklch */ color: oklch(46.9% 0.163 337.8);
Tailwind
colors: {
  custom: {
    50: '#b46da0',
    500: '#902a7a',
    950: '#000000',
  },
}
SCSS
$custom: #902a7a;
$custom-light: #b46da0;
$custom-dark: #000000;
JSON
{
  "hex": "#902a7a",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 312.941,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.16311,
    "h": 337.8
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#902A7A
secondary
#5EB772
accent
#DE6A4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #902A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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