#CF79A2#CF79A2

#CF79A2 is a light, moderate pink. Relative luminance 0.295; OKLCH L 68.1% C 0.118 H 350.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CF79A2
RGBrgb(207, 121, 162)
HSLhsl(331, 47%, 64%)
HSVhsv(331, 42%, 81%)
CMYKcmyk(0%, 41.5%, 21.7%, 18.8%)
CIE-LABlab(61.27, 38.80, -7.37)
CIE-LCHlch(61.27, 39.49, 349.24°)
OKLaboklab(68.14% 0.1162 -0.0191)
OKLCHoklch(68.14% 0.118 350.7)
XYZxyz(39.0919, 29.5515, 37.8205)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79A2 #79CFA6
analogous
#CF79CD #CF79A2 #CF7B79
triadic
#CF79A2 #A2CF79 #79A2CF
tetradic
#CF79A2 #CDCF79 #79CFA6 #7B79CF
square
#CF79A2 #CDCF79 #79CFA6 #7B79CF
split-complementary
#CF79A2 #79CF7B #79CDCF
monochromatic
#973665 #BF4C83 #CF79A2 #DFA6C1 #EFD3E1

Accessibility & contrast

On white

3.04
#CF79A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CF79A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF79A2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79A2#FFFFFF#000000##000000
##CF79A21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#9799A0
Tritanopia (blue-blind)
#DA7688
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf79a2;
/* rgb */ color: rgb(207, 121, 162);
/* oklch */ color: oklch(68.1% 0.118 350.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1bd',
    500: '#cf79a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf79a2;
$custom-light: #dfa1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79a2",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 331.395,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.11771,
    "h": 350.7
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#CF79A2
secondary
#C3E1D3
accent
#BB762B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CF79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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