#CF796F#CF796F

#CF796F is a light, moderate red. Relative luminance 0.281; OKLCH L 66.7% C 0.109 H 27.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CF796F
RGBrgb(207, 121, 111)
HSLhsl(6, 50%, 62%)
HSVhsv(6, 46%, 81%)
CMYKcmyk(0%, 41.5%, 46.4%, 18.8%)
CIE-LABlab(59.97, 32.42, 20.03)
CIE-LCHlch(59.97, 38.11, 31.71°)
OKLaboklab(66.72% 0.0971 0.0503)
OKLCHoklch(66.72% 0.109 27.4)
XYZxyz(35.4408, 28.0911, 18.5914)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF796F #6FC5CF
analogous
#CF6F95 #CF796F #CFA96F
triadic
#CF796F #6FCF79 #796FCF
tetradic
#CF796F #95CF6F #6FC5CF #A96FCF
square
#CF796F #95CF6F #6FC5CF #A96FCF
split-complementary
#CF796F #6FCFA9 #6F95CF
monochromatic
#933B31 #C04E41 #CF796F #DEA49D #EECECB

Accessibility & contrast

On white

3.17
#CF796F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CF796F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF796F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF796F#FFFFFF#000000##000000
##CF796F1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C866E
Deuteranopia (green-blind)
#A1976E
Tritanopia (blue-blind)
#DF6D77
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf796f;
/* rgb */ color: rgb(207, 121, 111);
/* oklch */ color: oklch(66.7% 0.109 27.4);
Tailwind
colors: {
  custom: {
    50: '#e1a198',
    500: '#cf796f',
    950: '#000000',
  },
}
SCSS
$custom: #cf796f;
$custom-light: #e1a198;
$custom-dark: #000000;
JSON
{
  "hex": "#cf796f",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 6.25,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.10934,
    "h": 27.4
  },
  "luminance": 0.28088
}

Semantic roles & 50–950 ramp

primary
#CF796F
secondary
#BBDBDE
accent
#AEBD28
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0D
muted
#847F7E

Preview Lab

Preview with #CF796F

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

Preview Lab → · Contrast checker → · Palette generator →

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