#902157#902157

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

Color values

HEX#902157
RGBrgb(144, 33, 87)
HSLhsl(331, 63%, 35%)
HSVhsv(331, 77%, 56%)
CMYKcmyk(0%, 77.1%, 39.6%, 43.5%)
CIE-LABlab(33.36, 49.80, -4.45)
CIE-LCHlch(33.36, 50.00, 354.89°)
OKLaboklab(44.58% 0.153 -0.0111)
OKLCHoklch(44.58% 0.153 355.9)
XYZxyz(13.7667, 7.7068, 9.7776)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902157 #21905A
analogous
#90218F #902157 #902321
triadic
#902157 #579021 #215790
tetradic
#902157 #8F9021 #21905A #232190
square
#902157 #8F9021 #21905A #232190
split-complementary
#902157 #219023 #218F90
monochromatic
#2C0A1B #5E1639 #902157 #C22C75 #D85494

Accessibility & contrast

On white

8.26
#902157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902157
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902157#FFFFFF#000000##FFFFFF
##9021571.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384158
Deuteranopia (green-blind)
#565654
Tritanopia (blue-blind)
#9C1339
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #902157;
/* rgb */ color: rgb(144, 33, 87);
/* oklch */ color: oklch(44.6% 0.153 355.9);
Tailwind
colors: {
  custom: {
    50: '#b56886',
    500: '#902157',
    950: '#000000',
  },
}
SCSS
$custom: #902157;
$custom-light: #b56886;
$custom-dark: #000000;
JSON
{
  "hex": "#902157",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 330.811,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.15338,
    "h": 355.9
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#902157
secondary
#51BB88
accent
#E69642
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902157

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

Preview Lab → · Contrast checker → · Palette generator →

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