#872270#872270

#872270 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.160 H 338.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#872270
RGBrgb(135, 34, 112)
HSLhsl(314, 60%, 33%)
HSVhsv(314, 75%, 53%)
CMYKcmyk(0%, 74.8%, 17%, 47.1%)
CIE-LABlab(32.85, 50.26, -21.45)
CIE-LCHlch(32.85, 54.65, 336.89°)
OKLaboklab(44.22% 0.1491 -0.0581)
OKLCHoklch(44.22% 0.16 338.7)
XYZxyz(13.4886, 7.4661, 16.0568)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872270 #228739
analogous
#6B2287 #872270 #87223E
triadic
#872270 #708722 #227087
tetradic
#872270 #876B22 #228739 #223E87
square
#872270 #876B22 #228739 #223E87
split-complementary
#872270 #3E8722 #22876B
monochromatic
#25091F #561647 #872270 #B82E99 #D350B5

Accessibility & contrast

On white

8.42
#872270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#872270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872270
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872270#FFFFFF#000000##FFFFFF
##8722701.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#8F2646
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872270;
/* rgb */ color: rgb(135, 34, 112);
/* oklch */ color: oklch(44.2% 0.160 338.7);
Tailwind
colors: {
  custom: {
    50: '#ad6899',
    500: '#872270',
    950: '#000000',
  },
}
SCSS
$custom: #872270;
$custom-light: #ad6899;
$custom-dark: #000000;
JSON
{
  "hex": "#872270",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 313.663,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.16001,
    "h": 338.7
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#872270
secondary
#4EB766
accent
#E36945
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872270

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

Preview Lab → · Contrast checker → · Palette generator →

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