#CF797A#CF797A

#CF797A is a light, moderate red. Relative luminance 0.283; OKLCH L 67.0% C 0.108 H 19.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CF797A
RGBrgb(207, 121, 122)
HSLhsl(359, 47%, 64%)
HSVhsv(359, 42%, 81%)
CMYKcmyk(0%, 41.5%, 41.1%, 18.8%)
CIE-LABlab(60.20, 33.59, 14.06)
CIE-LCHlch(60.20, 36.41, 22.71°)
OKLaboklab(66.98% 0.1014 0.0361)
OKLCHoklch(66.98% 0.108 19.6)
XYZxyz(36.0842, 28.3484, 21.9799)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797A #79CFCE
analogous
#CF79A5 #CF797A #CFA379
triadic
#CF797A #7ACF79 #797ACF
tetradic
#CF797A #A5CF79 #79CFCE #A379CF
square
#CF797A #A5CF79 #79CFCE #A379CF
split-complementary
#CF797A #79CFA3 #79A5CF
monochromatic
#973637 #BF4C4D #CF797A #DFA6A7 #EFD3D3

Accessibility & contrast

On white

3.15
#CF797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#CF797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF797A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF797A#FFFFFF#000000##000000
##CF797A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877A
Deuteranopia (green-blind)
#A09878
Tritanopia (blue-blind)
#DE6F7A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf797a;
/* rgb */ color: rgb(207, 121, 122);
/* oklch */ color: oklch(67.0% 0.108 19.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1a0',
    500: '#cf797a',
    950: '#000000',
  },
}
SCSS
$custom: #cf797a;
$custom-light: #e0a1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797a",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.302,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66976,
    "c": 0.10767,
    "h": 19.6
  },
  "luminance": 0.28345
}

Semantic roles & 50–950 ramp

primary
#CF797A
secondary
#C3E1E0
accent
#BBB92B
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0E
muted
#847F7E

Preview Lab

Preview with #CF797A

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

Preview Lab → · Contrast checker → · Palette generator →

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