#CF798D#CF798D

#CF798D is a light, moderate red. Relative luminance 0.289; OKLCH L 67.5% C 0.109 H 5.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CF798D
RGBrgb(207, 121, 141)
HSLhsl(346, 47%, 64%)
HSVhsv(346, 42%, 81%)
CMYKcmyk(0%, 41.5%, 31.9%, 18.8%)
CIE-LABlab(60.66, 35.88, 3.80)
CIE-LCHlch(60.66, 36.08, 6.04°)
OKLaboklab(67.48% 0.1088 0.0104)
OKLCHoklch(67.48% 0.109 5.4)
XYZxyz(37.3786, 28.8662, 28.7972)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF798D #79CFBB
analogous
#CF79B8 #CF798D #CF9079
triadic
#CF798D #8DCF79 #798DCF
tetradic
#CF798D #B8CF79 #79CFBB #9079CF
square
#CF798D #B8CF79 #79CFBB #9079CF
split-complementary
#CF798D #79CF90 #79B8CF
monochromatic
#97364D #BF4C67 #CF798D #DFA6B3 #EFD3DA

Accessibility & contrast

On white

3.10
#CF798D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CF798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF798D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF798D#FFFFFF#000000##000000
##CF798D1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87898E
Deuteranopia (green-blind)
#9C988B
Tritanopia (blue-blind)
#DD7280
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf798d;
/* rgb */ color: rgb(207, 121, 141);
/* oklch */ color: oklch(67.5% 0.109 5.4);
Tailwind
colors: {
  custom: {
    50: '#e0a1ae',
    500: '#cf798d',
    950: '#000000',
  },
}
SCSS
$custom: #cf798d;
$custom-light: #e0a1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf798d",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 346.047,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67479,
    "c": 0.10925,
    "h": 5.4
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

primary
#CF798D
secondary
#C3E1DA
accent
#BB992B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F10
muted
#847F7F

Preview Lab

Preview with #CF798D

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

Preview Lab → · Contrast checker → · Palette generator →

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