#CF799F#CF799F

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

Color values

HEX#CF799F
RGBrgb(207, 121, 159)
HSLhsl(333, 47%, 64%)
HSVhsv(333, 42%, 81%)
CMYKcmyk(0%, 41.5%, 23.2%, 18.8%)
CIE-LABlab(61.17, 38.36, -5.79)
CIE-LCHlch(61.17, 38.79, 351.41°)
OKLaboklab(68.04% 0.1152 -0.0148)
OKLCHoklch(68.04% 0.116 352.7)
XYZxyz(38.8284, 29.4461, 36.4328)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF799F #79CFA9
analogous
#CF79CA #CF799F #CF7E79
triadic
#CF799F #9FCF79 #799FCF
tetradic
#CF799F #CACF79 #79CFA9 #7E79CF
square
#CF799F #CACF79 #79CFA9 #7E79CF
split-complementary
#CF799F #79CF7E #79CACF
monochromatic
#973661 #BF4C7F #CF799F #DFA6BF #EFD3E0

Accessibility & contrast

On white

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

On black

6.89
#CF799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF799F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF799F#FFFFFF#000000##000000
##CF799F1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838BA0
Deuteranopia (green-blind)
#98999D
Tritanopia (blue-blind)
#DB7687
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf799f;
/* rgb */ color: rgb(207, 121, 159);
/* oklch */ color: oklch(68.0% 0.116 352.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1bb',
    500: '#cf799f',
    950: '#000000',
  },
}
SCSS
$custom: #cf799f;
$custom-light: #dfa1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf799f",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 333.488,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68035,
    "c": 0.1161,
    "h": 352.7
  },
  "luminance": 0.29443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF799F

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

Preview Lab → · Contrast checker → · Palette generator →

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