#902072#902072

#902072 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 341.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#902072
RGBrgb(144, 32, 114)
HSLhsl(316, 64%, 35%)
HSVhsv(316, 78%, 56%)
CMYKcmyk(0%, 77.8%, 20.8%, 43.5%)
CIE-LABlab(34.35, 53.50, -20.25)
CIE-LCHlch(34.35, 57.20, 339.27°)
OKLaboklab(45.66% 0.1604 -0.0545)
OKLCHoklch(45.66% 0.169 341.2)
XYZxyz(15.0559, 8.1788, 16.7021)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902072 #20903E
analogous
#762090 #902072 #90203A
triadic
#902072 #729020 #207290
tetradic
#902072 #907620 #20903E #203A90
square
#902072 #907620 #20903E #203A90
split-complementary
#902072 #3A9020 #209076
monochromatic
#2C0A23 #5E154A #902072 #C22B9A #D952B4

Accessibility & contrast

On white

7.97
#902072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#902072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902072
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902072#FFFFFF#000000##FFFFFF
##9020721.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#992347
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902072;
/* rgb */ color: rgb(144, 32, 114);
/* oklch */ color: oklch(45.7% 0.169 341.2);
Tailwind
colors: {
  custom: {
    50: '#b4689a',
    500: '#902072',
    950: '#000000',
  },
}
SCSS
$custom: #902072;
$custom-light: #b4689a;
$custom-dark: #000000;
JSON
{
  "hex": "#902072",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 316.071,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.16938,
    "h": 341.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#902072
secondary
#50BC6D
accent
#E76D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902072

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

Preview Lab → · Contrast checker → · Palette generator →

#902072 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva