#CF798A#CF798A

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

Color values

HEX#CF798A
RGBrgb(207, 121, 138)
HSLhsl(348, 47%, 64%)
HSVhsv(348, 42%, 81%)
CMYKcmyk(0%, 41.5%, 33.3%, 18.8%)
CIE-LABlab(60.59, 35.49, 5.41)
CIE-LCHlch(60.59, 35.90, 8.67°)
OKLaboklab(67.39% 0.1076 0.0145)
OKLCHoklch(67.39% 0.109 7.7)
XYZxyz(37.1584, 28.7781, 27.6375)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF798A #79CFBE
analogous
#CF79B5 #CF798A #CF9379
triadic
#CF798A #8ACF79 #798ACF
tetradic
#CF798A #B5CF79 #79CFBE #9379CF
square
#CF798A #B5CF79 #79CFBE #9379CF
split-complementary
#CF798A #79CF93 #79B5CF
monochromatic
#973649 #BF4C63 #CF798A #DFA6B1 #EFD3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF798A#FFFFFF#000000##000000
##CF798A1.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)
#87888A
Deuteranopia (green-blind)
#9D9888
Tritanopia (blue-blind)
#DD717F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf798a;
/* rgb */ color: rgb(207, 121, 138);
/* oklch */ color: oklch(67.4% 0.109 7.7);
Tailwind
colors: {
  custom: {
    50: '#e0a1ac',
    500: '#cf798a',
    950: '#000000',
  },
}
SCSS
$custom: #cf798a;
$custom-light: #e0a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf798a",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 348.14,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67394,
    "c": 0.10861,
    "h": 7.7
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF798A

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

Preview Lab → · Contrast checker → · Palette generator →

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