#CF797F#CF797F

#CF797F is a light, moderate red. Relative luminance 0.285; OKLCH L 67.1% C 0.108 H 15.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#CF797F
RGBrgb(207, 121, 127)
HSLhsl(356, 47%, 64%)
HSVhsv(356, 42%, 81%)
CMYKcmyk(0%, 41.5%, 38.6%, 18.8%)
CIE-LABlab(60.32, 34.16, 11.35)
CIE-LCHlch(60.32, 35.99, 18.38°)
OKLaboklab(67.1% 0.1034 0.0294)
OKLCHoklch(67.1% 0.108 15.9)
XYZxyz(36.4020, 28.4756, 23.6537)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797F #79CFC9
analogous
#CF79AA #CF797F #CF9E79
triadic
#CF797F #7FCF79 #797FCF
tetradic
#CF797F #AACF79 #79CFC9 #9E79CF
square
#CF797F #AACF79 #79CFC9 #9E79CF
split-complementary
#CF797F #79CF9E #79AACF
monochromatic
#97363D #BF4C54 #CF797F #DFA6AA #EFD3D5

Accessibility & contrast

On white

3.14
#CF797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#CF797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF797F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF797F#FFFFFF#000000##000000
##CF797F1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877F
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#DE6F7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf797f;
/* rgb */ color: rgb(207, 121, 127);
/* oklch */ color: oklch(67.1% 0.108 15.9);
Tailwind
colors: {
  custom: {
    50: '#e0a1a4',
    500: '#cf797f',
    950: '#000000',
  },
}
SCSS
$custom: #cf797f;
$custom-light: #e0a1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797f",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 355.814,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.10752,
    "h": 15.9
  },
  "luminance": 0.28472
}

Semantic roles & 50–950 ramp

primary
#CF797F
secondary
#C3E1DF
accent
#BBB02B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #CF797F

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

Preview Lab → · Contrast checker → · Palette generator →

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