#CF97B2#CF97B2

#CF97B2 is a light, moderate pink. Relative luminance 0.386; OKLCH L 73.8% C 0.076 H 348.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CF97B2
RGBrgb(207, 151, 178)
HSLhsl(331, 37%, 70%)
HSVhsv(331, 27%, 81%)
CMYKcmyk(0%, 27.1%, 14%, 18.8%)
CIE-LABlab(68.47, 25.12, -5.73)
CIE-LCHlch(68.47, 25.76, 347.16°)
OKLaboklab(73.79% 0.0741 -0.0149)
OKLCHoklch(73.79% 0.076 348.6)
XYZxyz(44.8346, 38.6149, 47.2026)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97B2 #97CFB4
analogous
#CF97CE #CF97B2 #CF9897
triadic
#CF97B2 #B2CF97 #97B2CF
tetradic
#CF97B2 #CECF97 #97CFB4 #9897CF
square
#CF97B2 #CECF97 #97CFB4 #9897CF
split-complementary
#CF97B2 #97CF98 #97CECF
monochromatic
#A14A74 #BC6D93 #CF97B2 #E2C1D1 #F5EAEF

Accessibility & contrast

On white

2.41
#CF97B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CF97B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97B2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97B2#FFFFFF#000000##000000
##CF97B21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA2B3
Deuteranopia (green-blind)
#A8AAB1
Tritanopia (blue-blind)
#D796A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf97b2;
/* rgb */ color: rgb(207, 151, 178);
/* oklch */ color: oklch(73.8% 0.076 348.6);
Tailwind
colors: {
  custom: {
    50: '#deb6c9',
    500: '#cf97b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf97b2;
$custom-light: #deb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97b2",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 331.071,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73792,
    "c": 0.07561,
    "h": 348.6
  },
  "luminance": 0.38613
}

Semantic roles & 50–950 ramp

primary
#CF97B2
secondary
#D9E9E1
accent
#B07536
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CF97B2

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

Preview Lab → · Contrast checker → · Palette generator →

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