#C4787F#C4787F

#C4787F is a light, moderate red. Relative luminance 0.267; OKLCH L 65.6% C 0.096 H 14.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C4787F
RGBrgb(196, 120, 127)
HSLhsl(354, 39%, 62%)
HSVhsv(354, 39%, 77%)
CMYKcmyk(0%, 38.8%, 35.2%, 23.1%)
CIE-LABlab(58.70, 30.55, 8.87)
CIE-LCHlch(58.70, 31.81, 16.18°)
OKLaboklab(65.57% 0.0926 0.0232)
OKLCHoklch(65.57% 0.096 14.1)
XYZxyz(33.3135, 26.7036, 23.4743)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4787F #78C4BD
analogous
#C478A5 #C4787F #C49778
triadic
#C4787F #7FC478 #787FC4
tetradic
#C4787F #A5C478 #78C4BD #9778C4
square
#C4787F #A5C478 #78C4BD #9778C4
split-complementary
#C4787F #78C497 #78A5C4
monochromatic
#873B42 #B14D57 #C4787F #D7A3A7 #E9CDD0

Accessibility & contrast

On white

3.31
#C4787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C4787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C4787F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4787F#FFFFFF#000000##000000
##C4787F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847F
Deuteranopia (green-blind)
#98937E
Tritanopia (blue-blind)
#D1707B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c4787f;
/* rgb */ color: rgb(196, 120, 127);
/* oklch */ color: oklch(65.6% 0.096 14.1);
Tailwind
colors: {
  custom: {
    50: '#d8a0a4',
    500: '#c4787f',
    950: '#000000',
  },
}
SCSS
$custom: #c4787f;
$custom-light: #d8a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4787f",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 354.474,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.0955,
    "h": 14.1
  },
  "luminance": 0.26701
}

Semantic roles & 50–950 ramp

primary
#C4787F
secondary
#BEDAD7
accent
#B2A633
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #C4787F

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

Preview Lab → · Contrast checker → · Palette generator →

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