#872275#872275

#872275 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 336.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#872275
RGBrgb(135, 34, 117)
HSLhsl(311, 60%, 33%)
HSVhsv(311, 75%, 53%)
CMYKcmyk(0%, 74.8%, 13.3%, 47.1%)
CIE-LABlab(33.09, 51.02, -24.23)
CIE-LCHlch(33.09, 56.48, 334.60°)
OKLaboklab(44.49% 0.1497 -0.066)
OKLCHoklch(44.49% 0.164 336.2)
XYZxyz(13.7748, 7.5806, 17.5639)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872275 #228734
analogous
#662287 #872275 #872242
triadic
#872275 #758722 #227587
tetradic
#872275 #876622 #228734 #224287
square
#872275 #876622 #228734 #224287
split-complementary
#872275 #428722 #228766
monochromatic
#250920 #56164B #872275 #B82E9F #D350BC

Accessibility & contrast

On white

8.35
#872275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#872275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872275
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872275#FFFFFF#000000##FFFFFF
##8722751.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244477
Deuteranopia (green-blind)
#475373
Tritanopia (blue-blind)
#8E2949
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872275;
/* rgb */ color: rgb(135, 34, 117);
/* oklch */ color: oklch(44.5% 0.164 336.2);
Tailwind
colors: {
  custom: {
    50: '#ad689d',
    500: '#872275',
    950: '#000000',
  },
}
SCSS
$custom: #872275;
$custom-light: #ad689d;
$custom-dark: #000000;
JSON
{
  "hex": "#872275",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 310.693,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.16361,
    "h": 336.2
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#872275
secondary
#4EB761
accent
#E36145
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872275

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

Preview Lab → · Contrast checker → · Palette generator →

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