#874B7C#874B7C

#874B7C is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.1% C 0.105 H 334.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#874B7C
RGBrgb(135, 75, 124)
HSLhsl(311, 29%, 41%)
HSVhsv(311, 44%, 53%)
CMYKcmyk(0%, 44.4%, 8.1%, 47.1%)
CIE-LABlab(40.64, 32.79, -16.91)
CIE-LCHlch(40.64, 36.89, 332.72°)
OKLaboklab(50.15% 0.0941 -0.0456)
OKLCHoklch(50.15% 0.105 334.1)
XYZxyz(16.1458, 11.6392, 20.4610)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874B7C #4B8756
analogous
#744B87 #874B7C #874B5E
triadic
#874B7C #7C874B #4B7C87
tetradic
#874B7C #87744B #4B8756 #4B5E87
square
#874B7C #87744B #4B8756 #4B5E87
split-complementary
#874B7C #5E874B #4B8774
monochromatic
#381F34 #603558 #874B7C #AA659D #C08DB6

Accessibility & contrast

On white

6.31
#874B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#874B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874B7C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874B7C#FFFFFF#000000##FFFFFF
##874B7C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7E
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#8C4E5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #874b7c;
/* rgb */ color: rgb(135, 75, 124);
/* oklch */ color: oklch(50.1% 0.105 334.1);
Tailwind
colors: {
  custom: {
    50: '#ab7fa2',
    500: '#874b7c',
    950: '#000000',
  },
}
SCSS
$custom: #874b7c;
$custom-light: #ab7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#874b7c",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 311,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.10462,
    "h": 334.1
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#874B7C
secondary
#82AC8A
accent
#C57563
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #874B7C

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

Preview Lab → · Contrast checker → · Palette generator →

#874B7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva