#874772#874772

#874772 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 49.1% C 0.104 H 340.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#874772
RGBrgb(135, 71, 114)
HSLhsl(320, 31%, 40%)
HSVhsv(320, 47%, 53%)
CMYKcmyk(0%, 47.4%, 15.6%, 47.1%)
CIE-LABlab(39.37, 33.24, -12.68)
CIE-LCHlch(39.37, 35.57, 339.12°)
OKLaboklab(49.06% 0.0978 -0.0338)
OKLCHoklch(49.06% 0.104 340.9)
XYZxyz(15.2823, 10.8733, 17.2102)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874772 #47875C
analogous
#7C4787 #874772 #874752
triadic
#874772 #728747 #477287
tetradic
#874772 #877C47 #47875C #475287
square
#874772 #877C47 #47875C #475287
split-complementary
#874772 #528747 #47877C
monochromatic
#371D2E #5F3250 #874772 #AB6093 #C088AE

Accessibility & contrast

On white

6.62
#874772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#874772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874772
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874772#FFFFFF#000000##FFFFFF
##8747721.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5674
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#8E4857
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #874772;
/* rgb */ color: rgb(135, 71, 114);
/* oklch */ color: oklch(49.1% 0.104 340.9);
Tailwind
colors: {
  custom: {
    50: '#ab7c9a',
    500: '#874772',
    950: '#000000',
  },
}
SCSS
$custom: #874772;
$custom-light: #ab7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#874772",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 319.688,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49063,
    "c": 0.10351,
    "h": 340.9
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#874772
secondary
#7EAC8D
accent
#C78261
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #874772

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

Preview Lab → · Contrast checker → · Palette generator →

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