#CF799A#CF799A

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

Color values

HEX#CF799A
RGBrgb(207, 121, 154)
HSLhsl(337, 47%, 64%)
HSVhsv(337, 42%, 81%)
CMYKcmyk(0%, 41.5%, 25.6%, 18.8%)
CIE-LABlab(61.02, 37.64, -3.14)
CIE-LCHlch(61.02, 37.77, 355.23°)
OKLaboklab(67.87% 0.1134 -0.0078)
OKLCHoklch(67.87% 0.114 356.1)
XYZxyz(38.4033, 29.2761, 34.1938)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799A #79CFAE
analogous
#CF79C5 #CF799A #CF8379
triadic
#CF799A #9ACF79 #799ACF
tetradic
#CF799A #C5CF79 #79CFAE #8379CF
square
#CF799A #C5CF79 #79CFAE #8379CF
split-complementary
#CF799A #79CF83 #79C5CF
monochromatic
#97365C #BF4C78 #CF799A #DFA6BC #EFD3DE

Accessibility & contrast

On white

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

On black

6.85
#CF799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF799A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF799A#FFFFFF#000000##000000
##CF799A1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf799a;
/* rgb */ color: rgb(207, 121, 154);
/* oklch */ color: oklch(67.9% 0.114 356.1);
Tailwind
colors: {
  custom: {
    50: '#dfa1b7',
    500: '#cf799a',
    950: '#000000',
  },
}
SCSS
$custom: #cf799a;
$custom-light: #dfa1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799a",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 336.977,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.11371,
    "h": 356.1
  },
  "luminance": 0.29273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF799A

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

Preview Lab → · Contrast checker → · Palette generator →

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