#CF797D#CF797D

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

Color values

HEX#CF797D
RGBrgb(207, 121, 125)
HSLhsl(357, 47%, 64%)
HSVhsv(357, 42%, 81%)
CMYKcmyk(0%, 41.5%, 39.6%, 18.8%)
CIE-LABlab(60.27, 33.93, 12.43)
CIE-LCHlch(60.27, 36.13, 20.13°)
OKLaboklab(67.05% 0.1026 0.0321)
OKLCHoklch(67.05% 0.108 17.4)
XYZxyz(36.2730, 28.4239, 22.9740)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF797D #79CFCB
analogous
#CF79A8 #CF797D #CFA079
triadic
#CF797D #7DCF79 #797DCF
tetradic
#CF797D #A8CF79 #79CFCB #A079CF
square
#CF797D #A8CF79 #79CFCB #A079CF
split-complementary
#CF797D #79CFA0 #79A8CF
monochromatic
#97363B #BF4C51 #CF797D #DFA6A9 #EFD3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF797D#FFFFFF#000000##000000
##CF797D1.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)
#8A877D
Deuteranopia (green-blind)
#9F987B
Tritanopia (blue-blind)
#DE6F7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf797d;
/* rgb */ color: rgb(207, 121, 125);
/* oklch */ color: oklch(67.0% 0.108 17.4);
Tailwind
colors: {
  custom: {
    50: '#e0a1a2',
    500: '#cf797d',
    950: '#000000',
  },
}
SCSS
$custom: #cf797d;
$custom-light: #e0a1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf797d",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.209,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6705,
    "c": 0.10753,
    "h": 17.4
  },
  "luminance": 0.28421
}

Semantic roles & 50–950 ramp

primary
#CF797D
secondary
#C3E1DF
accent
#BBB42B
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #CF797D

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

Preview Lab → · Contrast checker → · Palette generator →

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