#872272#872272

#872272 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.161 H 337.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#872272
RGBrgb(135, 34, 114)
HSLhsl(312, 60%, 33%)
HSVhsv(312, 75%, 53%)
CMYKcmyk(0%, 74.8%, 15.6%, 47.1%)
CIE-LABlab(32.94, 50.56, -22.56)
CIE-LCHlch(32.94, 55.37, 335.95°)
OKLaboklab(44.33% 0.1494 -0.0613)
OKLCHoklch(44.33% 0.161 337.7)
XYZxyz(13.6012, 7.5111, 16.6498)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872272 #228737
analogous
#692287 #872272 #872240
triadic
#872272 #728722 #227287
tetradic
#872272 #876922 #228737 #224087
square
#872272 #876922 #228737 #224087
split-complementary
#872272 #408722 #228769
monochromatic
#25091F #561649 #872272 #B82E9B #D350B8

Accessibility & contrast

On white

8.39
#872272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#872272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872272
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872272#FFFFFF#000000##FFFFFF
##8722721.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#8F2747
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872272;
/* rgb */ color: rgb(135, 34, 114);
/* oklch */ color: oklch(44.3% 0.161 337.7);
Tailwind
colors: {
  custom: {
    50: '#ad689b',
    500: '#872272',
    950: '#000000',
  },
}
SCSS
$custom: #872272;
$custom-light: #ad689b;
$custom-dark: #000000;
JSON
{
  "hex": "#872272",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 312.475,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.16143,
    "h": 337.7
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#872272
secondary
#4EB764
accent
#E36645
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872272

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

Preview Lab → · Contrast checker → · Palette generator →

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