#902168#902168

#902168 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 346.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#902168
RGBrgb(144, 33, 104)
HSLhsl(322, 63%, 35%)
HSVhsv(322, 77%, 56%)
CMYKcmyk(0%, 77.1%, 27.8%, 43.5%)
CIE-LABlab(34.02, 51.83, -14.40)
CIE-LCHlch(34.02, 53.80, 344.47°)
OKLaboklab(45.27% 0.1575 -0.0382)
OKLCHoklch(45.27% 0.162 346.4)
XYZxyz(14.5448, 8.0181, 13.8757)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902168 #219049
analogous
#812190 #902168 #902130
triadic
#902168 #689021 #216890
tetradic
#902168 #908121 #219049 #213090
square
#902168 #908121 #219049 #213090
split-complementary
#902168 #309021 #219081
monochromatic
#2C0A20 #5E1644 #902168 #C22C8C #D854A8

Accessibility & contrast

On white

8.07
#902168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#902168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902168
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902168#FFFFFF#000000##FFFFFF
##9021681.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#525765
Tritanopia (blue-blind)
#9A1E42
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #902168;
/* rgb */ color: rgb(144, 33, 104);
/* oklch */ color: oklch(45.3% 0.162 346.4);
Tailwind
colors: {
  custom: {
    50: '#b46893',
    500: '#902168',
    950: '#000000',
  },
}
SCSS
$custom: #902168;
$custom-light: #b46893;
$custom-dark: #000000;
JSON
{
  "hex": "#902168",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 321.622,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.16207,
    "h": 346.4
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#902168
secondary
#51BB78
accent
#E67D42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #902168

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

Preview Lab → · Contrast checker → · Palette generator →

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