#902857#902857

#902857 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.145 H 357.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#902857
RGBrgb(144, 40, 87)
HSLhsl(333, 57%, 36%)
HSVhsv(333, 72%, 56%)
CMYKcmyk(0%, 72.2%, 39.6%, 43.5%)
CIE-LABlab(34.27, 47.28, -3.11)
CIE-LCHlch(34.27, 47.38, 356.23°)
OKLaboklab(45.24% 0.145 -0.0076)
OKLCHoklch(45.24% 0.145 357)
XYZxyz(13.9816, 8.1367, 9.8492)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902857 #289061
analogous
#90288B #902857 #902D28
triadic
#902857 #579028 #285790
tetradic
#902857 #8B9028 #289061 #2D2890
square
#902857 #8B9028 #289061 #2D2890
split-complementary
#902857 #28902D #288B90
monochromatic
#300D1D #601B3A #902857 #C03574 #D36094

Accessibility & contrast

On white

7.99
#902857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902857
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902857#FFFFFF#000000##FFFFFF
##9028571.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902857;
/* rgb */ color: rgb(144, 40, 87);
/* oklch */ color: oklch(45.2% 0.145 357.0);
Tailwind
colors: {
  custom: {
    50: '#b56b86',
    500: '#902857',
    950: '#000000',
  },
}
SCSS
$custom: #902857;
$custom-light: #b56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#902857",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 332.885,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.14516,
    "h": 357
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#902857
secondary
#5CB88E
accent
#E09B48
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902857

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

Preview Lab → · Contrast checker → · Palette generator →

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