#872266#872266

#872266 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.153 H 344.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#872266
RGBrgb(135, 34, 102)
HSLhsl(320, 60%, 33%)
HSVhsv(320, 75%, 53%)
CMYKcmyk(0%, 74.8%, 24.4%, 47.1%)
CIE-LABlab(32.38, 48.82, -15.78)
CIE-LCHlch(32.38, 51.31, 342.09°)
OKLaboklab(43.74% 0.1474 -0.0421)
OKLCHoklch(43.74% 0.153 344.1)
XYZxyz(12.9625, 7.2556, 13.2856)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872266 #228743
analogous
#752287 #872266 #872233
triadic
#872266 #668722 #226687
tetradic
#872266 #877522 #228743 #223387
square
#872266 #877522 #228743 #223387
split-complementary
#872266 #338722 #228775
monochromatic
#25091C #561641 #872266 #B82E8B #D350A8

Accessibility & contrast

On white

8.57
#872266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#872266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872266
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872266#FFFFFF#000000##FFFFFF
##8722661.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#4C5264
Tritanopia (blue-blind)
#902141
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872266;
/* rgb */ color: rgb(135, 34, 102);
/* oklch */ color: oklch(43.7% 0.153 344.1);
Tailwind
colors: {
  custom: {
    50: '#ae6791',
    500: '#872266',
    950: '#000000',
  },
}
SCSS
$custom: #872266;
$custom-light: #ae6791;
$custom-dark: #000000;
JSON
{
  "hex": "#872266",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 319.604,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.15328,
    "h": 344.1
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#872266
secondary
#4EB770
accent
#E37945
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #872266

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

Preview Lab → · Contrast checker → · Palette generator →

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