#902161#902161

#902161 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 350.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#902161
RGBrgb(144, 33, 97)
HSLhsl(325, 63%, 35%)
HSVhsv(325, 77%, 56%)
CMYKcmyk(0%, 77.1%, 32.6%, 43.5%)
CIE-LABlab(33.74, 50.96, -10.35)
CIE-LCHlch(33.74, 52.00, 348.52°)
OKLaboklab(44.97% 0.1558 -0.027)
OKLCHoklch(44.97% 0.158 350.2)
XYZxyz(14.2039, 7.8817, 12.0803)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902161 #219050
analogous
#872190 #902161 #90212A
triadic
#902161 #619021 #216190
tetradic
#902161 #908721 #219050 #212A90
square
#902161 #908721 #219050 #212A90
split-complementary
#902161 #2A9021 #219087
monochromatic
#2C0A1E #5E163F #902161 #C22C83 #D854A0

Accessibility & contrast

On white

8.15
#902161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#902161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902161
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902161#FFFFFF#000000##FFFFFF
##9021611.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344363
Deuteranopia (green-blind)
#54565E
Tritanopia (blue-blind)
#9B193E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902161;
/* rgb */ color: rgb(144, 33, 97);
/* oklch */ color: oklch(45.0% 0.158 350.2);
Tailwind
colors: {
  custom: {
    50: '#b5688e',
    500: '#902161',
    950: '#000000',
  },
}
SCSS
$custom: #902161;
$custom-light: #b5688e;
$custom-dark: #000000;
JSON
{
  "hex": "#902161",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 325.405,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.15817,
    "h": 350.2
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#902161
secondary
#51BB7E
accent
#E68742
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902161

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

Preview Lab → · Contrast checker → · Palette generator →

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