#CF797C#CF797C

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

Color values

HEX#CF797C
RGBrgb(207, 121, 124)
HSLhsl(358, 47%, 64%)
HSVhsv(358, 42%, 81%)
CMYKcmyk(0%, 41.5%, 40.1%, 18.8%)
CIE-LABlab(60.25, 33.81, 12.98)
CIE-LCHlch(60.25, 36.22, 20.99°)
OKLaboklab(67.03% 0.1022 0.0334)
OKLCHoklch(67.03% 0.108 18.1)
XYZxyz(36.2094, 28.3985, 22.6393)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797C #79CFCC
analogous
#CF79A7 #CF797C #CFA179
triadic
#CF797C #7CCF79 #797CCF
tetradic
#CF797C #A7CF79 #79CFCC #A179CF
square
#CF797C #A7CF79 #79CFCC #A179CF
split-complementary
#CF797C #79CFA1 #79A7CF
monochromatic
#97363A #BF4C50 #CF797C #DFA6A8 #EFD3D4

Accessibility & contrast

On white

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

On black

6.68
#CF797C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF797C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF797C#FFFFFF#000000##000000
##CF797C1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf797c;
/* rgb */ color: rgb(207, 121, 124);
/* oklch */ color: oklch(67.0% 0.108 18.1);
Tailwind
colors: {
  custom: {
    50: '#e0a1a1',
    500: '#cf797c',
    950: '#000000',
  },
}
SCSS
$custom: #cf797c;
$custom-light: #e0a1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797c",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 357.907,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67025,
    "c": 0.10756,
    "h": 18.1
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#CF797C
secondary
#C3E1E0
accent
#BBB52B
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #CF797C

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

Preview Lab → · Contrast checker → · Palette generator →

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