#CF799C#CF799C

#CF799C is a light, moderate pink. Relative luminance 0.293; OKLCH L 67.9% C 0.115 H 354.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CF799C
RGBrgb(207, 121, 156)
HSLhsl(336, 47%, 64%)
HSVhsv(336, 42%, 81%)
CMYKcmyk(0%, 41.5%, 24.6%, 18.8%)
CIE-LABlab(61.08, 37.92, -4.20)
CIE-LCHlch(61.08, 38.16, 353.67°)
OKLaboklab(67.94% 0.1141 -0.0106)
OKLCHoklch(67.94% 0.115 354.7)
XYZxyz(38.5712, 29.3432, 35.0783)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799C #79CFAC
analogous
#CF79C7 #CF799C #CF8179
triadic
#CF799C #9CCF79 #799CCF
tetradic
#CF799C #C7CF79 #79CFAC #8179CF
square
#CF799C #C7CF79 #79CFAC #8179CF
split-complementary
#CF799C #79CF81 #79C7CF
monochromatic
#97365E #BF4C7B #CF799C #DFA6BD #EFD3DF

Accessibility & contrast

On white

3.06
#CF799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CF799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF799C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF799C#FFFFFF#000000##000000
##CF799C1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9D
Deuteranopia (green-blind)
#99999A
Tritanopia (blue-blind)
#DB7585
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf799c;
/* rgb */ color: rgb(207, 121, 156);
/* oklch */ color: oklch(67.9% 0.115 354.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1b9',
    500: '#cf799c',
    950: '#000000',
  },
}
SCSS
$custom: #cf799c;
$custom-light: #dfa1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799c",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 335.581,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.11462,
    "h": 354.7
  },
  "luminance": 0.2934
}

Semantic roles & 50–950 ramp

primary
#CF799C
secondary
#C3E1D5
accent
#BB802B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CF799C

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

Preview Lab → · Contrast checker → · Palette generator →

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