#CF798F#CF798F

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

Color values

HEX#CF798F
RGBrgb(207, 121, 143)
HSLhsl(345, 47%, 64%)
HSVhsv(345, 42%, 81%)
CMYKcmyk(0%, 41.5%, 30.9%, 18.8%)
CIE-LABlab(60.72, 36.14, 2.73)
CIE-LCHlch(60.72, 36.24, 4.31°)
OKLaboklab(67.54% 0.1095 0.0076)
OKLCHoklch(67.54% 0.11 4)
XYZxyz(37.5288, 28.9263, 29.5880)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF798F #79CFB9
analogous
#CF79BA #CF798F #CF8E79
triadic
#CF798F #8FCF79 #798FCF
tetradic
#CF798F #BACF79 #79CFB9 #8E79CF
square
#CF798F #BACF79 #79CFB9 #8E79CF
split-complementary
#CF798F #79CF8E #79BACF
monochromatic
#97364F #BF4C69 #CF798F #DFA6B5 #EFD3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF798F#FFFFFF#000000##000000
##CF798F1.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)
#868990
Deuteranopia (green-blind)
#9C998D
Tritanopia (blue-blind)
#DD7281
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf798f;
/* rgb */ color: rgb(207, 121, 143);
/* oklch */ color: oklch(67.5% 0.110 4.0);
Tailwind
colors: {
  custom: {
    50: '#e0a1af',
    500: '#cf798f',
    950: '#000000',
  },
}
SCSS
$custom: #cf798f;
$custom-light: #e0a1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf798f",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 344.651,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.10976,
    "h": 4
  },
  "luminance": 0.28923
}

Semantic roles & 50–950 ramp

primary
#CF798F
secondary
#C3E1D9
accent
#BB962B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F10
muted
#847F7F

Preview Lab

Preview with #CF798F

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

Preview Lab → · Contrast checker → · Palette generator →

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