#902172#902172

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

Color values

HEX#902172
RGBrgb(144, 33, 114)
HSLhsl(316, 63%, 35%)
HSVhsv(316, 77%, 56%)
CMYKcmyk(0%, 77.1%, 20.8%, 43.5%)
CIE-LABlab(34.46, 53.18, -20.07)
CIE-LCHlch(34.46, 56.84, 339.32°)
OKLaboklab(45.74% 0.1594 -0.054)
OKLCHoklch(45.74% 0.168 341.3)
XYZxyz(15.0832, 8.2334, 16.7112)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902172 #21903F
analogous
#772190 #902172 #90213B
triadic
#902172 #729021 #217290
tetradic
#902172 #907721 #21903F #213B90
square
#902172 #907721 #21903F #213B90
split-complementary
#902172 #3B9021 #219077
monochromatic
#2C0A23 #5E164B #902172 #C22C99 #D854B4

Accessibility & contrast

On white

7.94
#902172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#902172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902172
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902172#FFFFFF#000000##FFFFFF
##9021721.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902172;
/* rgb */ color: rgb(144, 33, 114);
/* oklch */ color: oklch(45.7% 0.168 341.3);
Tailwind
colors: {
  custom: {
    50: '#b4699a',
    500: '#902172',
    950: '#000000',
  },
}
SCSS
$custom: #902172;
$custom-light: #b4699a;
$custom-dark: #000000;
JSON
{
  "hex": "#902172",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 316.216,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.16831,
    "h": 341.3
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#902172
secondary
#51BB6E
accent
#E66E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902172

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

Preview Lab → · Contrast checker → · Palette generator →

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