#CF798E#CF798E

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

Color values

HEX#CF798E
RGBrgb(207, 121, 142)
HSLhsl(345, 47%, 64%)
HSVhsv(345, 42%, 81%)
CMYKcmyk(0%, 41.5%, 31.4%, 18.8%)
CIE-LABlab(60.69, 36.01, 3.26)
CIE-LCHlch(60.69, 36.16, 5.18°)
OKLaboklab(67.51% 0.1091 0.009)
OKLCHoklch(67.51% 0.11 4.7)
XYZxyz(37.4534, 28.8961, 29.1908)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF798E #79CFBA
analogous
#CF79B9 #CF798E #CF8F79
triadic
#CF798E #8ECF79 #798ECF
tetradic
#CF798E #B9CF79 #79CFBA #8F79CF
square
#CF798E #B9CF79 #79CFBA #8F79CF
split-complementary
#CF798E #79CF8F #79B9CF
monochromatic
#97364E #BF4C68 #CF798E #DFA6B4 #EFD3DA

Accessibility & contrast

On white

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

On black

6.78
#CF798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF798E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF798E#FFFFFF#000000##000000
##CF798E1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf798e;
/* rgb */ color: rgb(207, 121, 142);
/* oklch */ color: oklch(67.5% 0.110 4.7);
Tailwind
colors: {
  custom: {
    50: '#e0a1af',
    500: '#cf798e',
    950: '#000000',
  },
}
SCSS
$custom: #cf798e;
$custom-light: #e0a1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf798e",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 345.349,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.1095,
    "h": 4.7
  },
  "luminance": 0.28893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF798E

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

Preview Lab → · Contrast checker → · Palette generator →

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