#872276#872276

#872276 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 335.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#872276
RGBrgb(135, 34, 118)
HSLhsl(310, 60%, 33%)
HSVhsv(310, 75%, 53%)
CMYKcmyk(0%, 74.8%, 12.6%, 47.1%)
CIE-LABlab(33.14, 51.18, -24.78)
CIE-LCHlch(33.14, 56.86, 334.17°)
OKLaboklab(44.54% 0.1498 -0.0676)
OKLCHoklch(44.54% 0.164 335.7)
XYZxyz(13.8339, 7.6042, 17.8752)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872276 #228733
analogous
#652287 #872276 #872243
triadic
#872276 #768722 #227687
tetradic
#872276 #876522 #228733 #224387
square
#872276 #876522 #228733 #224387
split-complementary
#872276 #438722 #228765
monochromatic
#250921 #56164B #872276 #B82EA1 #D350BD

Accessibility & contrast

On white

8.33
#872276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#872276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872276
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872276#FFFFFF#000000##FFFFFF
##8722761.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#8E2949
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872276;
/* rgb */ color: rgb(135, 34, 118);
/* oklch */ color: oklch(44.5% 0.164 335.7);
Tailwind
colors: {
  custom: {
    50: '#ad689e',
    500: '#872276',
    950: '#000000',
  },
}
SCSS
$custom: #872276;
$custom-light: #ad689e;
$custom-dark: #000000;
JSON
{
  "hex": "#872276",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 310.099,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.16435,
    "h": 335.7
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#872276
secondary
#4EB760
accent
#E35F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872276

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

Preview Lab → · Contrast checker → · Palette generator →

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