#CF79B2#CF79B2

#CF79B2 is a light, vivid pink. Relative luminance 0.302; OKLCH L 68.7% C 0.128 H 340.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CF79B2
RGBrgb(207, 121, 178)
HSLhsl(320, 47%, 64%)
HSVhsv(320, 42%, 81%)
CMYKcmyk(0%, 41.5%, 14%, 18.8%)
CIE-LABlab(61.79, 41.28, -15.73)
CIE-LCHlch(61.79, 44.17, 339.14°)
OKLaboklab(68.7% 0.1211 -0.0419)
OKLCHoklch(68.7% 0.128 340.9)
XYZxyz(40.6057, 30.1570, 45.7930)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79B2 #79CF96
analogous
#C179CF #CF79B2 #CF7987
triadic
#CF79B2 #B2CF79 #79B2CF
tetradic
#CF79B2 #CFC179 #79CF96 #7987CF
square
#CF79B2 #CFC179 #79CF96 #7987CF
split-complementary
#CF79B2 #87CF79 #79CFC1
monochromatic
#973677 #BF4C98 #CF79B2 #DFA6CC #EFD3E6

Accessibility & contrast

On white

2.99
#CF79B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CF79B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79B2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79B2#FFFFFF#000000##000000
##CF79B21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#D87A8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf79b2;
/* rgb */ color: rgb(207, 121, 178);
/* oklch */ color: oklch(68.7% 0.128 340.9);
Tailwind
colors: {
  custom: {
    50: '#dfa1c9',
    500: '#cf79b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf79b2;
$custom-light: #dfa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79b2",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 320.233,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.12814,
    "h": 340.9
  },
  "luminance": 0.30154
}

Semantic roles & 50–950 ramp

primary
#CF79B2
secondary
#C3E1CD
accent
#BB5B2B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CF79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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