#872348#872348

#872348 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.138 H 2.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#872348
RGBrgb(135, 35, 72)
HSLhsl(338, 59%, 33%)
HSVhsv(338, 74%, 53%)
CMYKcmyk(0%, 74.1%, 46.7%, 47.1%)
CIE-LABlab(31.40, 44.87, 2.27)
CIE-LCHlch(31.40, 44.92, 2.89°)
OKLaboklab(42.65% 0.1374 0.0063)
OKLCHoklch(42.65% 0.138 2.6)
XYZxyz(11.7633, 6.8224, 6.8270)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872348 #238762
analogous
#87237A #872348 #873023
triadic
#872348 #488723 #234887
tetradic
#872348 #7A8723 #238762 #302387
square
#872348 #7A8723 #238762 #302387
split-complementary
#872348 #238730 #237A87
monochromatic
#260A14 #56162E #872348 #B83062 #D25282

Accessibility & contrast

On white

8.88
#872348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872348
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872348#FFFFFF#000000##FFFFFF
##8723481.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#931232
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872348;
/* rgb */ color: rgb(135, 35, 72);
/* oklch */ color: oklch(42.7% 0.138 2.6);
Tailwind
colors: {
  custom: {
    50: '#af677a',
    500: '#872348',
    950: '#000000',
  },
}
SCSS
$custom: #872348;
$custom-light: #af677a;
$custom-dark: #000000;
JSON
{
  "hex": "#872348",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 337.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.13754,
    "h": 2.6
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#872348
secondary
#50B690
accent
#E2A846
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872348

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

Preview Lab → · Contrast checker → · Palette generator →

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