#902170#902170

#902170 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 342.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#902170
RGBrgb(144, 33, 112)
HSLhsl(317, 63%, 35%)
HSVhsv(317, 77%, 56%)
CMYKcmyk(0%, 77.1%, 22.2%, 43.5%)
CIE-LABlab(34.37, 52.90, -18.95)
CIE-LCHlch(34.37, 56.19, 340.29°)
OKLaboklab(45.64% 0.1591 -0.0509)
OKLCHoklch(45.64% 0.167 342.3)
XYZxyz(14.9706, 8.1884, 16.1182)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902170 #219041
analogous
#782190 #902170 #902139
triadic
#902170 #709021 #217090
tetradic
#902170 #907821 #219041 #213990
square
#902170 #907821 #219041 #213990
split-complementary
#902170 #399021 #219078
monochromatic
#2C0A23 #5E1649 #902170 #C22C97 #D854B2

Accessibility & contrast

On white

7.96
#902170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#902170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902170
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902170#FFFFFF#000000##FFFFFF
##9021701.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#992246
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902170;
/* rgb */ color: rgb(144, 33, 112);
/* oklch */ color: oklch(45.6% 0.167 342.3);
Tailwind
colors: {
  custom: {
    50: '#b46899',
    500: '#902170',
    950: '#000000',
  },
}
SCSS
$custom: #902170;
$custom-light: #b46899;
$custom-dark: #000000;
JSON
{
  "hex": "#902170",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 317.297,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.16701,
    "h": 342.3
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#902170
secondary
#51BB70
accent
#E67142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902170

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

Preview Lab → · Contrast checker → · Palette generator →

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