#CF97AB#CF97AB

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

Color values

HEX#CF97AB
RGBrgb(207, 151, 171)
HSLhsl(339, 37%, 70%)
HSVhsv(339, 27%, 81%)
CMYKcmyk(0%, 27.1%, 17.4%, 18.8%)
CIE-LABlab(68.27, 23.99, -2.11)
CIE-LCHlch(68.27, 24.08, 354.97°)
OKLaboklab(73.57% 0.0716 -0.0052)
OKLCHoklch(73.57% 0.072 355.8)
XYZxyz(44.1497, 38.3409, 43.5952)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97AB #97CFBB
analogous
#CF97C7 #CF97AB #CF9F97
triadic
#CF97AB #ABCF97 #97ABCF
tetradic
#CF97AB #C7CF97 #97CFBB #9F97CF
square
#CF97AB #C7CF97 #97CFBB #9F97CF
split-complementary
#CF97AB #97CF9F #97C7CF
monochromatic
#A14A69 #BC6D89 #CF97AB #E2C1CD #F5EAEE

Accessibility & contrast

On white

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

On black

8.67
#CF97AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97AB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97AB#FFFFFF#000000##000000
##CF97AB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf97ab;
/* rgb */ color: rgb(207, 151, 171);
/* oklch */ color: oklch(73.6% 0.072 355.8);
Tailwind
colors: {
  custom: {
    50: '#deb6c4',
    500: '#cf97ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ab;
$custom-light: #deb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ab",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 338.571,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73572,
    "c": 0.07181,
    "h": 355.8
  },
  "luminance": 0.38339
}

Semantic roles & 50–950 ramp

primary
#CF97AB
secondary
#D9E9E3
accent
#B08436
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #CF97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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