#902855#902855

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

Color values

HEX#902855
RGBrgb(144, 40, 85)
HSLhsl(334, 57%, 36%)
HSVhsv(334, 72%, 56%)
CMYKcmyk(0%, 72.2%, 41%, 43.5%)
CIE-LABlab(34.20, 47.06, -1.92)
CIE-LCHlch(34.20, 47.10, 357.66°)
OKLaboklab(45.17% 0.1443 -0.0044)
OKLCHoklch(45.17% 0.144 358.2)
XYZxyz(13.9010, 8.1045, 9.4249)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902855 #289063
analogous
#902889 #902855 #902F28
triadic
#902855 #559028 #285590
tetradic
#902855 #899028 #289063 #2F2890
square
#902855 #899028 #289063 #2F2890
split-complementary
#902855 #28902F #288990
monochromatic
#300D1C #601B39 #902855 #C03571 #D36091

Accessibility & contrast

On white

8.01
#902855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#902855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902855
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902855#FFFFFF#000000##FFFFFF
##9028551.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#9C1C3B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #902855;
/* rgb */ color: rgb(144, 40, 85);
/* oklch */ color: oklch(45.2% 0.144 358.2);
Tailwind
colors: {
  custom: {
    50: '#b56b84',
    500: '#902855',
    950: '#000000',
  },
}
SCSS
$custom: #902855;
$custom-light: #b56b84;
$custom-dark: #000000;
JSON
{
  "hex": "#902855",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 334.038,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.14436,
    "h": 358.2
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#902855
secondary
#5CB890
accent
#E09E48
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902855

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

Preview Lab → · Contrast checker → · Palette generator →

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