#902371#902371

#902371 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.165 H 341.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#902371
RGBrgb(144, 35, 113)
HSLhsl(317, 61%, 35%)
HSVhsv(317, 76%, 56%)
CMYKcmyk(0%, 75.7%, 21.5%, 43.5%)
CIE-LABlab(34.65, 52.38, -19.15)
CIE-LCHlch(34.65, 55.77, 339.92°)
OKLaboklab(45.86% 0.1572 -0.0514)
OKLCHoklch(45.86% 0.165 341.9)
XYZxyz(15.0838, 8.3251, 16.4321)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902371 #239042
analogous
#782390 #902371 #90233B
triadic
#902371 #719023 #237190
tetradic
#902371 #907823 #239042 #233B90
square
#902371 #907823 #239042 #233B90
split-complementary
#902371 #3B9023 #239078
monochromatic
#2E0B24 #5F174A #902371 #C12F98 #D657B2

Accessibility & contrast

On white

7.88
#902371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#902371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902371
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902371#FFFFFF#000000##FFFFFF
##9023711.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#992547
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902371;
/* rgb */ color: rgb(144, 35, 113);
/* oklch */ color: oklch(45.9% 0.165 341.9);
Tailwind
colors: {
  custom: {
    50: '#b4699a',
    500: '#902371',
    950: '#000000',
  },
}
SCSS
$custom: #902371;
$custom-light: #b4699a;
$custom-dark: #000000;
JSON
{
  "hex": "#902371",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 317.064,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.16542,
    "h": 341.9
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#902371
secondary
#54BA71
accent
#E47144
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902371

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

Preview Lab → · Contrast checker → · Palette generator →

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