#874875#874875

#874875 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.4% C 0.104 H 338.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#874875
RGBrgb(135, 72, 117)
HSLhsl(317, 30%, 41%)
HSVhsv(317, 47%, 53%)
CMYKcmyk(0%, 46.7%, 13.3%, 47.1%)
CIE-LABlab(39.70, 33.20, -14.03)
CIE-LCHlch(39.70, 36.04, 337.10°)
OKLaboklab(49.35% 0.0971 -0.0376)
OKLCHoklch(49.35% 0.104 338.8)
XYZxyz(15.5200, 11.0710, 18.1456)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874875 #48875A
analogous
#794887 #874875 #874855
triadic
#874875 #758748 #487587
tetradic
#874875 #877948 #48875A #485587
square
#874875 #877948 #48875A #485587
split-complementary
#874875 #558748 #488779
monochromatic
#371D30 #5F3352 #874875 #AB6196 #C089B0

Accessibility & contrast

On white

6.53
#874875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#874875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874875
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874875#FFFFFF#000000##FFFFFF
##8748751.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5777
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#8D4A59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #874875;
/* rgb */ color: rgb(135, 72, 117);
/* oklch */ color: oklch(49.4% 0.104 338.8);
Tailwind
colors: {
  custom: {
    50: '#ab7d9c',
    500: '#874875',
    950: '#000000',
  },
}
SCSS
$custom: #874875;
$custom-light: #ab7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#874875",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 317.143,
    "s": 30.435,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.10409,
    "h": 338.8
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#874875
secondary
#7FAC8C
accent
#C77E61
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #874875

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

Preview Lab → · Contrast checker → · Palette generator →

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