#872268#872268

#872268 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.155 H 342.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#872268
RGBrgb(135, 34, 104)
HSLhsl(318, 60%, 33%)
HSVhsv(318, 75%, 53%)
CMYKcmyk(0%, 74.8%, 23%, 47.1%)
CIE-LABlab(32.47, 49.10, -16.93)
CIE-LCHlch(32.47, 51.94, 340.98°)
OKLaboklab(43.83% 0.1478 -0.0453)
OKLCHoklch(43.83% 0.155 342.9)
XYZxyz(13.0629, 7.2958, 13.8143)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872268 #228741
analogous
#732287 #872268 #872235
triadic
#872268 #688722 #226887
tetradic
#872268 #877322 #228741 #223587
square
#872268 #877322 #228741 #223587
split-complementary
#872268 #358722 #228773
monochromatic
#25091D #561642 #872268 #B82E8E #D350AB

Accessibility & contrast

On white

8.54
#872268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#872268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872268
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872268#FFFFFF#000000##FFFFFF
##8722681.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C426A
Deuteranopia (green-blind)
#4B5266
Tritanopia (blue-blind)
#902242
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872268;
/* rgb */ color: rgb(135, 34, 104);
/* oklch */ color: oklch(43.8% 0.155 342.9);
Tailwind
colors: {
  custom: {
    50: '#ad6793',
    500: '#872268',
    950: '#000000',
  },
}
SCSS
$custom: #872268;
$custom-light: #ad6793;
$custom-dark: #000000;
JSON
{
  "hex": "#872268",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 318.416,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.15456,
    "h": 342.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#872268
secondary
#4EB76E
accent
#E37545
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #872268

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

Preview Lab → · Contrast checker → · Palette generator →

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