#872267#872267

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

Color values

HEX#872267
RGBrgb(135, 34, 103)
HSLhsl(319, 60%, 33%)
HSVhsv(319, 75%, 53%)
CMYKcmyk(0%, 74.8%, 23.7%, 47.1%)
CIE-LABlab(32.43, 48.96, -16.35)
CIE-LCHlch(32.43, 51.62, 341.53°)
OKLaboklab(43.78% 0.1476 -0.0437)
OKLCHoklch(43.78% 0.154 343.5)
XYZxyz(13.0124, 7.2756, 13.5484)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872267 #228742
analogous
#742287 #872267 #872234
triadic
#872267 #678722 #226787
tetradic
#872267 #877422 #228742 #223487
square
#872267 #877422 #228742 #223487
split-complementary
#872267 #348722 #228774
monochromatic
#25091C #561642 #872267 #B82E8C #D350AA

Accessibility & contrast

On white

8.55
#872267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872267
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872267#FFFFFF#000000##FFFFFF
##8722671.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4269
Deuteranopia (green-blind)
#4C5265
Tritanopia (blue-blind)
#902241
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872267;
/* rgb */ color: rgb(135, 34, 103);
/* oklch */ color: oklch(43.8% 0.154 343.5);
Tailwind
colors: {
  custom: {
    50: '#ae6792',
    500: '#872267',
    950: '#000000',
  },
}
SCSS
$custom: #872267;
$custom-light: #ae6792;
$custom-dark: #000000;
JSON
{
  "hex": "#872267",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 319.01,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.15392,
    "h": 343.5
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#872267
secondary
#4EB76F
accent
#E37745
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #872267

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

Preview Lab → · Contrast checker → · Palette generator →

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