#902858#902858

#902858 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 356.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#902858
RGBrgb(144, 40, 88)
HSLhsl(332, 57%, 36%)
HSVhsv(332, 72%, 56%)
CMYKcmyk(0%, 72.2%, 38.9%, 43.5%)
CIE-LABlab(34.30, 47.39, -3.71)
CIE-LCHlch(34.30, 47.54, 355.52°)
OKLaboklab(45.27% 0.1453 -0.0092)
OKLCHoklch(45.27% 0.146 356.4)
XYZxyz(14.0228, 8.1531, 10.0659)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902858 #289060
analogous
#90288C #902858 #902C28
triadic
#902858 #589028 #285890
tetradic
#902858 #8C9028 #289060 #2C2890
square
#902858 #8C9028 #289060 #2C2890
split-complementary
#902858 #28902C #288C90
monochromatic
#300D1D #601B3B #902858 #C03575 #D36095

Accessibility & contrast

On white

7.98
#902858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#902858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902858
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902858#FFFFFF#000000##FFFFFF
##9028581.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4459
Deuteranopia (green-blind)
#585856
Tritanopia (blue-blind)
#9C1D3C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902858;
/* rgb */ color: rgb(144, 40, 88);
/* oklch */ color: oklch(45.3% 0.146 356.4);
Tailwind
colors: {
  custom: {
    50: '#b56b87',
    500: '#902858',
    950: '#000000',
  },
}
SCSS
$custom: #902858;
$custom-light: #b56b87;
$custom-dark: #000000;
JSON
{
  "hex": "#902858",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 332.308,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.14558,
    "h": 356.4
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#902858
secondary
#5CB88D
accent
#E09A48
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902858

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

Preview Lab → · Contrast checker → · Palette generator →

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