#CF799E#CF799E

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

Color values

HEX#CF799E
RGBrgb(207, 121, 158)
HSLhsl(334, 47%, 64%)
HSVhsv(334, 42%, 81%)
CMYKcmyk(0%, 41.5%, 23.7%, 18.8%)
CIE-LABlab(61.14, 38.21, -5.26)
CIE-LCHlch(61.14, 38.57, 352.16°)
OKLaboklab(68% 0.1148 -0.0134)
OKLCHoklch(68% 0.116 353.3)
XYZxyz(38.7420, 29.4115, 35.9776)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799E #79CFAA
analogous
#CF79C9 #CF799E #CF7F79
triadic
#CF799E #9ECF79 #799ECF
tetradic
#CF799E #C9CF79 #79CFAA #7F79CF
square
#CF799E #C9CF79 #79CFAA #7F79CF
split-complementary
#CF799E #79CF7F #79C9CF
monochromatic
#973660 #BF4C7D #CF799E #DFA6BF #EFD3DF

Accessibility & contrast

On white

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

On black

6.88
#CF799E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF799E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF799E#FFFFFF#000000##000000
##CF799E1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9F
Deuteranopia (green-blind)
#98999C
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf799e;
/* rgb */ color: rgb(207, 121, 158);
/* oklch */ color: oklch(68.0% 0.116 353.3);
Tailwind
colors: {
  custom: {
    50: '#dfa1ba',
    500: '#cf799e',
    950: '#000000',
  },
}
SCSS
$custom: #cf799e;
$custom-light: #dfa1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799e",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 334.186,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68002,
    "c": 0.11559,
    "h": 353.3
  },
  "luminance": 0.29409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF799E

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

Preview Lab → · Contrast checker → · Palette generator →

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