#902158#902158

#902158 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.154 H 355.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#902158
RGBrgb(144, 33, 88)
HSLhsl(330, 63%, 35%)
HSVhsv(330, 77%, 56%)
CMYKcmyk(0%, 77.1%, 38.9%, 43.5%)
CIE-LABlab(33.40, 49.91, -5.05)
CIE-LCHlch(33.40, 50.17, 354.23°)
OKLaboklab(44.61% 0.1533 -0.0127)
OKLCHoklch(44.61% 0.154 355.3)
XYZxyz(13.8078, 7.7233, 9.9943)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902158 #219059
analogous
#902190 #902158 #902121
triadic
#902158 #589021 #215890
tetradic
#902158 #909021 #219059 #212190
square
#902158 #909021 #219059 #212190
split-complementary
#902158 #219021 #219090
monochromatic
#2C0A1B #5E163A #902158 #C22C76 #D85495

Accessibility & contrast

On white

8.25
#902158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#902158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902158
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902158#FFFFFF#000000##FFFFFF
##9021581.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374159
Deuteranopia (green-blind)
#565655
Tritanopia (blue-blind)
#9C1339
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902158;
/* rgb */ color: rgb(144, 33, 88);
/* oklch */ color: oklch(44.6% 0.154 355.3);
Tailwind
colors: {
  custom: {
    50: '#b56887',
    500: '#902158',
    950: '#000000',
  },
}
SCSS
$custom: #902158;
$custom-light: #b56887;
$custom-dark: #000000;
JSON
{
  "hex": "#902158",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 330.27,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.15381,
    "h": 355.3
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#902158
secondary
#51BB87
accent
#E69542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902158

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

Preview Lab → · Contrast checker → · Palette generator →

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