#CF797B#CF797B

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

Color values

HEX#CF797B
RGBrgb(207, 121, 123)
HSLhsl(359, 47%, 64%)
HSVhsv(359, 42%, 81%)
CMYKcmyk(0%, 41.5%, 40.6%, 18.8%)
CIE-LABlab(60.22, 33.70, 13.52)
CIE-LCHlch(60.22, 36.31, 21.86°)
OKLaboklab(67% 0.1018 0.0348)
OKLCHoklch(67% 0.108 18.8)
XYZxyz(36.1465, 28.3733, 22.3079)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797B #79CFCD
analogous
#CF79A6 #CF797B #CFA279
triadic
#CF797B #7BCF79 #797BCF
tetradic
#CF797B #A6CF79 #79CFCD #A279CF
square
#CF797B #A6CF79 #79CFCD #A279CF
split-complementary
#CF797B #79CFA2 #79A6CF
monochromatic
#973638 #BF4C4F #CF797B #DFA6A7 #EFD3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF797B#FFFFFF#000000##000000
##CF797B1.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)
#8A877B
Deuteranopia (green-blind)
#9F9879
Tritanopia (blue-blind)
#DE6F7A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf797b;
/* rgb */ color: rgb(207, 121, 123);
/* oklch */ color: oklch(67.0% 0.108 18.8);
Tailwind
colors: {
  custom: {
    50: '#e0a1a1',
    500: '#cf797b',
    950: '#000000',
  },
}
SCSS
$custom: #cf797b;
$custom-light: #e0a1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797b",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 358.605,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67001,
    "c": 0.10761,
    "h": 18.8
  },
  "luminance": 0.2837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF797B

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

Preview Lab → · Contrast checker → · Palette generator →

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