#CF97C2#CF97C2

#CF97C2 is a light, moderate pink. Relative luminance 0.393; OKLCH L 74.3% C 0.088 H 335.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CF97C2
RGBrgb(207, 151, 194)
HSLhsl(314, 37%, 70%)
HSVhsv(314, 27%, 81%)
CMYKcmyk(0%, 27.1%, 6.3%, 18.8%)
CIE-LABlab(68.96, 27.85, -13.90)
CIE-LCHlch(68.96, 31.13, 333.47°)
OKLaboklab(74.33% 0.0795 -0.0371)
OKLCHoklch(74.33% 0.088 335)
XYZxyz(46.5357, 39.2954, 56.1619)
Luminance0.3929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97C2 #97CFA4
analogous
#C097CF #CF97C2 #CF97A6
triadic
#CF97C2 #C2CF97 #97C2CF
tetradic
#CF97C2 #CFC097 #97CFA4 #97A6CF
square
#CF97C2 #CFC097 #97CFA4 #97A6CF
split-complementary
#CF97C2 #A6CF97 #97CFC0
monochromatic
#A14A8D #BC6DA9 #CF97C2 #E2C1DB #F5EAF3

Accessibility & contrast

On white

2.37
#CF97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CF97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97C2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97C2#FFFFFF#000000##000000
##CF97C21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A3C4
Deuteranopia (green-blind)
#A4ABC0
Tritanopia (blue-blind)
#D599A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf97c2;
/* rgb */ color: rgb(207, 151, 194);
/* oklch */ color: oklch(74.3% 0.088 335.0);
Tailwind
colors: {
  custom: {
    50: '#deb6d4',
    500: '#cf97c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf97c2;
$custom-light: #deb6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97c2",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 313.929,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.08776,
    "h": 335
  },
  "luminance": 0.39294
}

Semantic roles & 50–950 ramp

primary
#CF97C2
secondary
#D9E9DD
accent
#B05236
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CF97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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