#872273#872273

#872273 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.162 H 337.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#872273
RGBrgb(135, 34, 115)
HSLhsl(312, 60%, 33%)
HSVhsv(312, 75%, 53%)
CMYKcmyk(0%, 74.8%, 14.8%, 47.1%)
CIE-LABlab(32.99, 50.72, -23.12)
CIE-LCHlch(32.99, 55.74, 335.49°)
OKLaboklab(44.38% 0.1495 -0.0629)
OKLCHoklch(44.38% 0.162 337.2)
XYZxyz(13.6585, 7.5340, 16.9512)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872273 #228736
analogous
#682287 #872273 #872240
triadic
#872273 #738722 #227387
tetradic
#872273 #876822 #228736 #224087
square
#872273 #876822 #228736 #224087
split-complementary
#872273 #408722 #228768
monochromatic
#250920 #561649 #872273 #B82E9D #D350B9

Accessibility & contrast

On white

8.38
#872273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#872273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872273
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872273#FFFFFF#000000##FFFFFF
##8722731.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#8E2848
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872273;
/* rgb */ color: rgb(135, 34, 115);
/* oklch */ color: oklch(44.4% 0.162 337.2);
Tailwind
colors: {
  custom: {
    50: '#ad689b',
    500: '#872273',
    950: '#000000',
  },
}
SCSS
$custom: #872273;
$custom-light: #ad689b;
$custom-dark: #000000;
JSON
{
  "hex": "#872273",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 311.881,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.16215,
    "h": 337.2
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#872273
secondary
#4EB763
accent
#E36445
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872273

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

Preview Lab → · Contrast checker → · Palette generator →

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