#CF799B#CF799B

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

Color values

HEX#CF799B
RGBrgb(207, 121, 155)
HSLhsl(336, 47%, 64%)
HSVhsv(336, 42%, 81%)
CMYKcmyk(0%, 41.5%, 25.1%, 18.8%)
CIE-LABlab(61.05, 37.78, -3.67)
CIE-LCHlch(61.05, 37.96, 354.45°)
OKLaboklab(67.91% 0.1138 -0.0092)
OKLCHoklch(67.91% 0.114 355.4)
XYZxyz(38.4869, 29.3095, 34.6342)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799B #79CFAD
analogous
#CF79C6 #CF799B #CF8279
triadic
#CF799B #9BCF79 #799BCF
tetradic
#CF799B #C6CF79 #79CFAD #8279CF
square
#CF799B #C6CF79 #79CFAD #8279CF
split-complementary
#CF799B #79CF82 #79C6CF
monochromatic
#97365D #BF4C79 #CF799B #DFA6BD #EFD3DE

Accessibility & contrast

On white

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

On black

6.86
#CF799B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF799B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF799B#FFFFFF#000000##000000
##CF799B1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#848A9C
Deuteranopia (green-blind)
#999999
Tritanopia (blue-blind)
#DB7585
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf799b;
/* rgb */ color: rgb(207, 121, 155);
/* oklch */ color: oklch(67.9% 0.114 355.4);
Tailwind
colors: {
  custom: {
    50: '#dfa1b8',
    500: '#cf799b',
    950: '#000000',
  },
}
SCSS
$custom: #cf799b;
$custom-light: #dfa1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799b",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 336.279,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67905,
    "c": 0.11416,
    "h": 355.4
  },
  "luminance": 0.29307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF799B

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

Preview Lab → · Contrast checker → · Palette generator →

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