#7C5871#7C5871

#7C5871 is a mid, muted pink. Relative luminance 0.125; OKLCH L 50.7% C 0.060 H 338.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7C5871
RGBrgb(124, 88, 113)
HSLhsl(318, 17%, 42%)
HSVhsv(318, 29%, 49%)
CMYKcmyk(0%, 29%, 8.9%, 51.4%)
CIE-LABlab(41.93, 19.17, -8.32)
CIE-LCHlch(41.93, 20.90, 336.53°)
OKLaboklab(50.69% 0.0553 -0.0221)
OKLCHoklch(50.69% 0.06 338.2)
XYZxyz(14.7824, 12.4574, 17.2454)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5871 #587C63
analogous
#75587C #7C5871 #7C585F
triadic
#7C5871 #717C58 #58717C
tetradic
#7C5871 #7C7558 #587C63 #585F7C
square
#7C5871 #7C7558 #587C63 #585F7C
split-complementary
#7C5871 #5F7C58 #587C75
monochromatic
#342530 #583F50 #7C5871 #9D7490 #B698AD

Accessibility & contrast

On white

6.01
#7C5871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7C5871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5871
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5871#FFFFFF#000000##FFFFFF
##7C58711.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#616570
Tritanopia (blue-blind)
#805961
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c5871;
/* rgb */ color: rgb(124, 88, 113);
/* oklch */ color: oklch(50.7% 0.060 338.2);
Tailwind
colors: {
  custom: {
    50: '#a28799',
    500: '#7c5871',
    950: '#000000',
  },
}
SCSS
$custom: #7c5871;
$custom-light: #a28799;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5871",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 318.333,
    "s": 16.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50691,
    "c": 0.05955,
    "h": 338.2
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#7C5871
secondary
#8CA493
accent
#BA856E
background
#FAF8F9
surface
#F3EFF2
border
#CDCACC
text
#0F0B0E
muted
#7F7C7E

Preview Lab

Preview with #7C5871

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

Preview Lab → · Contrast checker → · Palette generator →

#7C5871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva