#C97DB2#C97DB2

#C97DB2 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.6% C 0.116 H 338.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C97DB2
RGBrgb(201, 125, 178)
HSLhsl(318, 41%, 64%)
HSVhsv(318, 38%, 79%)
CMYKcmyk(0%, 37.8%, 11.4%, 21.2%)
CIE-LABlab(61.91, 37.16, -15.61)
CIE-LCHlch(61.91, 40.30, 337.21°)
OKLaboklab(68.64% 0.1081 -0.0416)
OKLCHoklch(68.64% 0.116 338.9)
XYZxyz(39.4569, 30.3013, 45.8813)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DB2 #7DC994
analogous
#BA7DC9 #C97DB2 #C97D8C
triadic
#C97DB2 #B2C97D #7DB2C9
tetradic
#C97DB2 #C9BA7D #7DC994 #7D8CC9
square
#C97DB2 #C9BA7D #7DC994 #7D8CC9
split-complementary
#C97DB2 #8CC97D #7DC9BA
monochromatic
#903C76 #B75298 #C97DB2 #DBA8CC #EDD3E5

Accessibility & contrast

On white

2.97
#C97DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C97DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DB2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DB2#FFFFFF#000000##000000
##C97DB21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#929AB0
Tritanopia (blue-blind)
#D17F90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c97db2;
/* rgb */ color: rgb(201, 125, 178);
/* oklch */ color: oklch(68.6% 0.116 338.9);
Tailwind
colors: {
  custom: {
    50: '#dba4c9',
    500: '#c97db2',
    950: '#000000',
  },
}
SCSS
$custom: #c97db2;
$custom-light: #dba4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97db2",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 318.158,
    "s": 41.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.11586,
    "h": 338.9
  },
  "luminance": 0.30299
}

Semantic roles & 50–950 ramp

primary
#C97DB2
secondary
#C4DECC
accent
#B45931
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #C97DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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