#902872#902872

#902872 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 341.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#902872
RGBrgb(144, 40, 114)
HSLhsl(317, 57%, 36%)
HSVhsv(317, 72%, 56%)
CMYKcmyk(0%, 72.2%, 20.8%, 43.5%)
CIE-LABlab(35.33, 50.74, -18.74)
CIE-LCHlch(35.33, 54.09, 339.73°)
OKLaboklab(46.36% 0.152 -0.0503)
OKLCHoklch(46.36% 0.16 341.7)
XYZxyz(15.2981, 8.6633, 16.7828)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902872 #289046
analogous
#7A2890 #902872 #90283E
triadic
#902872 #729028 #287290
tetradic
#902872 #907A28 #289046 #283E90
square
#902872 #907A28 #289046 #283E90
split-complementary
#902872 #3E9028 #28907A
monochromatic
#300D26 #601B4C #902872 #C03598 #D360B2

Accessibility & contrast

On white

7.69
#902872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#902872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902872
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902872#FFFFFF#000000##FFFFFF
##9028721.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#992A49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902872;
/* rgb */ color: rgb(144, 40, 114);
/* oklch */ color: oklch(46.4% 0.160 341.7);
Tailwind
colors: {
  custom: {
    50: '#b46c9a',
    500: '#902872',
    950: '#000000',
  },
}
SCSS
$custom: #902872;
$custom-light: #b46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902872",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 317.308,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.16007,
    "h": 341.7
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#902872
secondary
#5CB876
accent
#E07448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902872

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

Preview Lab → · Contrast checker → · Palette generator →

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