#CF97BD#CF97BD

#CF97BD is a light, moderate pink. Relative luminance 0.391; OKLCH L 74.2% C 0.084 H 338.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CF97BD
RGBrgb(207, 151, 189)
HSLhsl(319, 37%, 70%)
HSVhsv(319, 27%, 81%)
CMYKcmyk(0%, 27.1%, 8.7%, 18.8%)
CIE-LABlab(68.81, 26.98, -11.36)
CIE-LCHlch(68.81, 29.27, 337.16°)
OKLaboklab(74.16% 0.0779 -0.0301)
OKLCHoklch(74.16% 0.084 338.8)
XYZxyz(45.9836, 39.0745, 53.2542)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97BD #97CFA9
analogous
#C597CF #CF97BD #CF97A1
triadic
#CF97BD #BDCF97 #97BDCF
tetradic
#CF97BD #CFC597 #97CFA9 #97A1CF
square
#CF97BD #CFC597 #97CFA9 #97A1CF
split-complementary
#CF97BD #A1CF97 #97CFC5
monochromatic
#A14A85 #BC6DA2 #CF97BD #E2C1D8 #F5EAF2

Accessibility & contrast

On white

2.38
#CF97BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CF97BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97BD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97BD#FFFFFF#000000##000000
##CF97BD1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3BF
Deuteranopia (green-blind)
#A6ABBB
Tritanopia (blue-blind)
#D598A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf97bd;
/* rgb */ color: rgb(207, 151, 189);
/* oklch */ color: oklch(74.2% 0.084 338.8);
Tailwind
colors: {
  custom: {
    50: '#deb6d0',
    500: '#cf97bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf97bd;
$custom-light: #deb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97bd",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 319.286,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74158,
    "c": 0.08353,
    "h": 338.8
  },
  "luminance": 0.39073
}

Semantic roles & 50–950 ramp

primary
#CF97BD
secondary
#D9E9DE
accent
#B05D36
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CF97BD

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

Preview Lab → · Contrast checker → · Palette generator →

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