#902870#902870

#902870 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.159 H 342.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#902870
RGBrgb(144, 40, 112)
HSLhsl(318, 57%, 36%)
HSVhsv(318, 72%, 56%)
CMYKcmyk(0%, 72.2%, 22.2%, 43.5%)
CIE-LABlab(35.24, 50.45, -17.61)
CIE-LCHlch(35.24, 53.44, 340.76°)
OKLaboklab(46.27% 0.1516 -0.0472)
OKLCHoklch(46.27% 0.159 342.7)
XYZxyz(15.1855, 8.6183, 16.1898)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902870 #289048
analogous
#7C2890 #902870 #90283C
triadic
#902870 #709028 #287090
tetradic
#902870 #907C28 #289048 #283C90
square
#902870 #907C28 #289048 #283C90
split-complementary
#902870 #3C9028 #28907C
monochromatic
#300D25 #601B4B #902870 #C03595 #D360AF

Accessibility & contrast

On white

7.71
#902870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#902870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902870
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902870#FFFFFF#000000##FFFFFF
##9028701.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324872
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#992948
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902870;
/* rgb */ color: rgb(144, 40, 112);
/* oklch */ color: oklch(46.3% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#b46b99',
    500: '#902870',
    950: '#000000',
  },
}
SCSS
$custom: #902870;
$custom-light: #b46b99;
$custom-dark: #000000;
JSON
{
  "hex": "#902870",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 318.462,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46269,
    "c": 0.15875,
    "h": 342.7
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#902870
secondary
#5CB878
accent
#E07748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902870

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

Preview Lab → · Contrast checker → · Palette generator →

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