#CF97BF#CF97BF

#CF97BF is a light, moderate pink. Relative luminance 0.392; OKLCH L 74.2% C 0.085 H 337.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CF97BF
RGBrgb(207, 151, 191)
HSLhsl(317, 37%, 70%)
HSVhsv(317, 27%, 81%)
CMYKcmyk(0%, 27.1%, 7.7%, 18.8%)
CIE-LABlab(68.87, 27.33, -12.38)
CIE-LCHlch(68.87, 30.00, 335.63°)
OKLaboklab(74.23% 0.0786 -0.0329)
OKLCHoklch(74.23% 0.085 337.3)
XYZxyz(46.2022, 39.1620, 54.4054)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97BF #97CFA7
analogous
#C397CF #CF97BF #CF97A3
triadic
#CF97BF #BFCF97 #97BFCF
tetradic
#CF97BF #CFC397 #97CFA7 #97A3CF
square
#CF97BF #CFC397 #97CFA7 #97A3CF
split-complementary
#CF97BF #A3CF97 #97CFC3
monochromatic
#A14A88 #BC6DA5 #CF97BF #E2C1D9 #F5EAF2

Accessibility & contrast

On white

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

On black

8.83
#CF97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97BF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97BF#FFFFFF#000000##000000
##CF97BF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A3C1
Deuteranopia (green-blind)
#A5ABBD
Tritanopia (blue-blind)
#D598A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf97bf;
/* rgb */ color: rgb(207, 151, 191);
/* oklch */ color: oklch(74.2% 0.085 337.3);
Tailwind
colors: {
  custom: {
    50: '#deb6d2',
    500: '#cf97bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf97bf;
$custom-light: #deb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97bf",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 317.143,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.08518,
    "h": 337.3
  },
  "luminance": 0.3916
}

Semantic roles & 50–950 ramp

primary
#CF97BF
secondary
#D9E9DE
accent
#B05936
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CF97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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