#C2787F#C2787F

#C2787F is a light, moderate red. Relative luminance 0.264; OKLCH L 65.3% C 0.093 H 13.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#C2787F
RGBrgb(194, 120, 127)
HSLhsl(354, 38%, 62%)
HSVhsv(354, 38%, 76%)
CMYKcmyk(0%, 38.1%, 34.5%, 23.9%)
CIE-LABlab(58.45, 29.79, 8.48)
CIE-LCHlch(58.45, 30.98, 15.88°)
OKLaboklab(65.32% 0.0904 0.0222)
OKLCHoklch(65.32% 0.093 13.8)
XYZxyz(32.7966, 26.4371, 23.4501)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2787F #78C2BB
analogous
#C278A4 #C2787F #C29678
triadic
#C2787F #7FC278 #787FC2
tetradic
#C2787F #A4C278 #78C2BB #9678C2
square
#C2787F #A4C278 #78C2BB #9678C2
split-complementary
#C2787F #78C296 #78A4C2
monochromatic
#843C42 #AE4F58 #C2787F #D5A2A7 #E8CCCF

Accessibility & contrast

On white

3.34
#C2787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#C2787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C2787F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2787F#FFFFFF#000000##000000
##C2787F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85847F
Deuteranopia (green-blind)
#97927E
Tritanopia (blue-blind)
#CF717B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c2787f;
/* rgb */ color: rgb(194, 120, 127);
/* oklch */ color: oklch(65.3% 0.093 13.8);
Tailwind
colors: {
  custom: {
    50: '#d6a0a4',
    500: '#c2787f',
    950: '#000000',
  },
}
SCSS
$custom: #c2787f;
$custom-light: #d6a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c2787f",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 354.324,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65324,
    "c": 0.09304,
    "h": 13.8
  },
  "luminance": 0.26435
}

Semantic roles & 50–950 ramp

primary
#C2787F
secondary
#BDD9D6
accent
#B1A535
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #C2787F

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

Preview Lab → · Contrast checker → · Palette generator →

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