#CF799D#CF799D

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

Color values

HEX#CF799D
RGBrgb(207, 121, 157)
HSLhsl(335, 47%, 64%)
HSVhsv(335, 42%, 81%)
CMYKcmyk(0%, 41.5%, 24.2%, 18.8%)
CIE-LABlab(61.11, 38.07, -4.73)
CIE-LCHlch(61.11, 38.36, 352.91°)
OKLaboklab(67.97% 0.1145 -0.012)
OKLCHoklch(67.97% 0.115 354)
XYZxyz(38.6563, 29.3773, 35.5261)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799D #79CFAB
analogous
#CF79C8 #CF799D #CF8079
triadic
#CF799D #9DCF79 #799DCF
tetradic
#CF799D #C8CF79 #79CFAB #8079CF
square
#CF799D #C8CF79 #79CFAB #8079CF
split-complementary
#CF799D #79CF80 #79C8CF
monochromatic
#97365F #BF4C7C #CF799D #DFA6BE #EFD3DF

Accessibility & contrast

On white

3.05
#CF799D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF799D#FFFFFF#000000##000000
##CF799D1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9E
Deuteranopia (green-blind)
#99999B
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf799d;
/* rgb */ color: rgb(207, 121, 157);
/* oklch */ color: oklch(68.0% 0.115 354.0);
Tailwind
colors: {
  custom: {
    50: '#dfa1b9',
    500: '#cf799d',
    950: '#000000',
  },
}
SCSS
$custom: #cf799d;
$custom-light: #dfa1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799d",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 334.884,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.1151,
    "h": 354
  },
  "luminance": 0.29374
}

Semantic roles & 50–950 ramp

primary
#CF799D
secondary
#C3E1D4
accent
#BB7E2B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CF799D

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

Preview Lab → · Contrast checker → · Palette generator →

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