#CF798B#CF798B

#CF798B is a light, moderate red. Relative luminance 0.288; OKLCH L 67.4% C 0.109 H 6.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CF798B
RGBrgb(207, 121, 139)
HSLhsl(347, 47%, 64%)
HSVhsv(347, 42%, 81%)
CMYKcmyk(0%, 41.5%, 32.9%, 18.8%)
CIE-LABlab(60.61, 35.62, 4.87)
CIE-LCHlch(60.61, 35.95, 7.79°)
OKLaboklab(67.42% 0.108 0.0131)
OKLCHoklch(67.42% 0.109 6.9)
XYZxyz(37.2311, 28.8072, 28.0206)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF798B #79CFBD
analogous
#CF79B6 #CF798B #CF9279
triadic
#CF798B #8BCF79 #798BCF
tetradic
#CF798B #B6CF79 #79CFBD #9279CF
square
#CF798B #B6CF79 #79CFBD #9279CF
split-complementary
#CF798B #79CF92 #79B6CF
monochromatic
#97364B #BF4C64 #CF798B #DFA6B2 #EFD3D9

Accessibility & contrast

On white

3.11
#CF798B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CF798B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF798B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF798B#FFFFFF#000000##000000
##CF798B1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888B
Deuteranopia (green-blind)
#9D9889
Tritanopia (blue-blind)
#DD727F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf798b;
/* rgb */ color: rgb(207, 121, 139);
/* oklch */ color: oklch(67.4% 0.109 6.9);
Tailwind
colors: {
  custom: {
    50: '#e0a1ac',
    500: '#cf798b',
    950: '#000000',
  },
}
SCSS
$custom: #cf798b;
$custom-light: #e0a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf798b",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 347.442,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67423,
    "c": 0.1088,
    "h": 6.9
  },
  "luminance": 0.28804
}

Semantic roles & 50–950 ramp

primary
#CF798B
secondary
#C3E1DB
accent
#BB9C2B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #CF798B

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

Preview Lab → · Contrast checker → · Palette generator →

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