#C5787F#C5787F

#C5787F is a light, moderate red. Relative luminance 0.268; OKLCH L 65.7% C 0.097 H 14.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C5787F
RGBrgb(197, 120, 127)
HSLhsl(355, 40%, 62%)
HSVhsv(355, 39%, 77%)
CMYKcmyk(0%, 39.1%, 35.5%, 22.7%)
CIE-LABlab(58.82, 30.93, 9.06)
CIE-LCHlch(58.82, 32.23, 16.33°)
OKLaboklab(65.69% 0.0938 0.0237)
OKLCHoklch(65.69% 0.097 14.2)
XYZxyz(33.5746, 26.8382, 23.4865)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5787F #78C5BE
analogous
#C578A6 #C5787F #C59778
triadic
#C5787F #7FC578 #787FC5
tetradic
#C5787F #A6C578 #78C5BE #9778C5
square
#C5787F #A6C578 #78C5BE #9778C5
split-complementary
#C5787F #78C597 #78A6C5
monochromatic
#883A42 #B34D56 #C5787F #D7A3A8 #EACED0

Accessibility & contrast

On white

3.30
#C5787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C5787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5787F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5787F#FFFFFF#000000##000000
##C5787F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86857F
Deuteranopia (green-blind)
#99937E
Tritanopia (blue-blind)
#D3707B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c5787f;
/* rgb */ color: rgb(197, 120, 127);
/* oklch */ color: oklch(65.7% 0.097 14.2);
Tailwind
colors: {
  custom: {
    50: '#d9a0a4',
    500: '#c5787f',
    950: '#000000',
  },
}
SCSS
$custom: #c5787f;
$custom-light: #d9a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5787f",
  "rgb": {
    "r": 197,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 354.545,
    "s": 39.896,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.09672,
    "h": 14.2
  },
  "luminance": 0.26836
}

Semantic roles & 50–950 ramp

primary
#C5787F
secondary
#BEDBD8
accent
#B3A733
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #C5787F

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

Preview Lab → · Contrast checker → · Palette generator →

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