#CF97AC#CF97AC

#CF97AC is a light, moderate pink. Relative luminance 0.384; OKLCH L 73.6% C 0.072 H 354.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CF97AC
RGBrgb(207, 151, 172)
HSLhsl(338, 37%, 70%)
HSVhsv(338, 27%, 81%)
CMYKcmyk(0%, 27.1%, 16.9%, 18.8%)
CIE-LABlab(68.30, 24.15, -2.63)
CIE-LCHlch(68.30, 24.29, 353.78°)
OKLaboklab(73.6% 0.072 -0.0066)
OKLCHoklch(73.6% 0.072 354.7)
XYZxyz(44.2453, 38.3792, 44.0991)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97AC #97CFBA
analogous
#CF97C8 #CF97AC #CF9E97
triadic
#CF97AC #ACCF97 #97ACCF
tetradic
#CF97AC #C8CF97 #97CFBA #9E97CF
square
#CF97AC #C8CF97 #97CFBA #9E97CF
split-complementary
#CF97AC #97CF9E #97C8CF
monochromatic
#A14A6B #BC6D8B #CF97AC #E2C1CD #F5EAEE

Accessibility & contrast

On white

2.42
#CF97AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CF97AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97AC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97AC#FFFFFF#000000##000000
##CF97AC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA1AD
Deuteranopia (green-blind)
#AAAAAB
Tritanopia (blue-blind)
#D8959E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf97ac;
/* rgb */ color: rgb(207, 151, 172);
/* oklch */ color: oklch(73.6% 0.072 354.7);
Tailwind
colors: {
  custom: {
    50: '#deb6c4',
    500: '#cf97ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ac;
$custom-light: #deb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ac",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 337.5,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73602,
    "c": 0.07228,
    "h": 354.7
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

primary
#CF97AC
secondary
#D9E9E3
accent
#B08236
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #CF97AC

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

Preview Lab → · Contrast checker → · Palette generator →

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