#873151#873151

#873151 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.122 H 0.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#873151
RGBrgb(135, 49, 81)
HSLhsl(338, 47%, 36%)
HSVhsv(338, 64%, 53%)
CMYKcmyk(0%, 63.7%, 40%, 47.1%)
CIE-LABlab(33.86, 39.85, -0.02)
CIE-LCHlch(33.86, 39.85, 359.97°)
OKLaboklab(44.57% 0.1217 0.0004)
OKLCHoklch(44.57% 0.122 0.2)
XYZxyz(12.5760, 7.9430, 8.6539)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873151 #318767
analogous
#87317C #873151 #873C31
triadic
#873151 #518731 #315187
tetradic
#873151 #7C8731 #318767 #3C3187
square
#873151 #7C8731 #318767 #3C3187
split-complementary
#873151 #31873C #317C87
monochromatic
#2D101B #5A2136 #873151 #B4416C #C96A8D

Accessibility & contrast

On white

8.11
#873151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#873151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873151
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873151#FFFFFF#000000##FFFFFF
##8731511.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414552
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#92293D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #873151;
/* rgb */ color: rgb(135, 49, 81);
/* oklch */ color: oklch(44.6% 0.122 0.2);
Tailwind
colors: {
  custom: {
    50: '#ae6e81',
    500: '#873151',
    950: '#000000',
  },
}
SCSS
$custom: #873151;
$custom-light: #ae6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#873151",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 337.674,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.12171,
    "h": 0.2
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#873151
secondary
#64B094
accent
#D6A551
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #873151

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

Preview Lab → · Contrast checker → · Palette generator →

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