#902162#902162

#902162 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.159 H 349.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#902162
RGBrgb(144, 33, 98)
HSLhsl(325, 63%, 35%)
HSVhsv(325, 77%, 56%)
CMYKcmyk(0%, 77.1%, 31.9%, 43.5%)
CIE-LABlab(33.77, 51.08, -10.94)
CIE-LCHlch(33.77, 52.24, 347.92°)
OKLaboklab(45.01% 0.1561 -0.0286)
OKLCHoklch(45.01% 0.159 349.6)
XYZxyz(14.2508, 7.9005, 12.3274)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902162 #21904F
analogous
#872190 #902162 #90212A
triadic
#902162 #629021 #216290
tetradic
#902162 #908721 #21904F #212A90
square
#902162 #908721 #21904F #212A90
split-complementary
#902162 #2A9021 #219087
monochromatic
#2C0A1E #5E1640 #902162 #C22C84 #D854A1

Accessibility & contrast

On white

8.14
#902162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902162
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902162#FFFFFF#000000##FFFFFF
##9021621.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334364
Deuteranopia (green-blind)
#54565F
Tritanopia (blue-blind)
#9B1A3F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902162;
/* rgb */ color: rgb(144, 33, 98);
/* oklch */ color: oklch(45.0% 0.159 349.6);
Tailwind
colors: {
  custom: {
    50: '#b5688e',
    500: '#902162',
    950: '#000000',
  },
}
SCSS
$custom: #902162;
$custom-light: #b5688e;
$custom-dark: #000000;
JSON
{
  "hex": "#902162",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 324.865,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.1587,
    "h": 349.6
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#902162
secondary
#51BB7D
accent
#E68642
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902162

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

Preview Lab → · Contrast checker → · Palette generator →

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