#CF797E#CF797E

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

Color values

HEX#CF797E
RGBrgb(207, 121, 126)
HSLhsl(357, 47%, 64%)
HSVhsv(357, 42%, 81%)
CMYKcmyk(0%, 41.5%, 39.1%, 18.8%)
CIE-LABlab(60.29, 34.04, 11.89)
CIE-LCHlch(60.29, 36.06, 19.26°)
OKLaboklab(67.07% 0.103 0.0308)
OKLCHoklch(67.07% 0.108 16.6)
XYZxyz(36.3372, 28.4496, 23.3122)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797E #79CFCA
analogous
#CF79A9 #CF797E #CF9F79
triadic
#CF797E #7ECF79 #797ECF
tetradic
#CF797E #A9CF79 #79CFCA #9F79CF
square
#CF797E #A9CF79 #79CFCA #9F79CF
split-complementary
#CF797E #79CF9F #79A9CF
monochromatic
#97363C #BF4C53 #CF797E #DFA6A9 #EFD3D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF797E#FFFFFF#000000##000000
##CF797E1.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)
#8A877E
Deuteranopia (green-blind)
#9F987C
Tritanopia (blue-blind)
#DE6F7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf797e;
/* rgb */ color: rgb(207, 121, 126);
/* oklch */ color: oklch(67.1% 0.108 16.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1a3',
    500: '#cf797e',
    950: '#000000',
  },
}
SCSS
$custom: #cf797e;
$custom-light: #e0a1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797e",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.512,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.10752,
    "h": 16.6
  },
  "luminance": 0.28447
}

Semantic roles & 50–950 ramp

primary
#CF797E
secondary
#C3E1DF
accent
#BBB22B
background
#FEFAFA
surface
#FCF3F3
border
#D5CDCD
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #CF797E

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

Preview Lab → · Contrast checker → · Palette generator →

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