#872262#872262

#872262 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.151 H 346.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#872262
RGBrgb(135, 34, 98)
HSLhsl(322, 60%, 33%)
HSVhsv(322, 75%, 53%)
CMYKcmyk(0%, 74.8%, 27.4%, 47.1%)
CIE-LABlab(32.21, 48.28, -13.47)
CIE-LCHlch(32.21, 50.13, 344.41°)
OKLaboklab(43.56% 0.1465 -0.0357)
OKLCHoklch(43.56% 0.151 346.3)
XYZxyz(12.7689, 7.1782, 12.2660)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872262 #228747
analogous
#792287 #872262 #872230
triadic
#872262 #628722 #226287
tetradic
#872262 #877922 #228747 #223087
square
#872262 #877922 #228747 #223087
split-complementary
#872262 #308722 #228779
monochromatic
#25091B #56163F #872262 #B82E85 #D350A3

Accessibility & contrast

On white

8.62
#872262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#872262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872262
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872262#FFFFFF#000000##FFFFFF
##8722621.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4164
Deuteranopia (green-blind)
#4D5260
Tritanopia (blue-blind)
#911F3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872262;
/* rgb */ color: rgb(135, 34, 98);
/* oklch */ color: oklch(43.6% 0.151 346.3);
Tailwind
colors: {
  custom: {
    50: '#ae678e',
    500: '#872262',
    950: '#000000',
  },
}
SCSS
$custom: #872262;
$custom-light: #ae678e;
$custom-dark: #000000;
JSON
{
  "hex": "#872262",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 321.98,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.1508,
    "h": 346.3
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#872262
secondary
#4EB774
accent
#E37F45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #872262

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

Preview Lab → · Contrast checker → · Palette generator →

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