#CD6797#CD6797

#CD6797 is a light, vivid pink. Relative luminance 0.249; OKLCH L 64.7% C 0.140 H 352.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CD6797
RGBrgb(205, 103, 151)
HSLhsl(332, 50%, 60%)
HSVhsv(332, 50%, 80%)
CMYKcmyk(0%, 49.8%, 26.3%, 19.6%)
CIE-LABlab(56.99, 45.84, -7.40)
CIE-LCHlch(56.99, 46.43, 350.82°)
OKLaboklab(64.75% 0.1383 -0.019)
OKLCHoklch(64.75% 0.14 352.2)
XYZxyz(35.6142, 24.9170, 32.2059)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6797 #67CD9D
analogous
#CD67CA #CD6797 #CD6A67
triadic
#CD6797 #97CD67 #6797CD
tetradic
#CD6797 #CACD67 #67CD9D #6A67CD
square
#CD6797 #CACD67 #67CD9D #6A67CD
split-complementary
#CD6797 #67CD6A #67CACD
monochromatic
#8C2E5A #BA3D78 #CD6797 #DC95B7 #EBC3D6

Accessibility & contrast

On white

3.51
#CD6797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CD6797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6797
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6797#FFFFFF#000000##000000
##CD67971.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E99
Deuteranopia (green-blind)
#8E9095
Tritanopia (blue-blind)
#DA6379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd6797;
/* rgb */ color: rgb(205, 103, 151);
/* oklch */ color: oklch(64.7% 0.140 352.2);
Tailwind
colors: {
  custom: {
    50: '#df95b5',
    500: '#cd6797',
    950: '#000000',
  },
}
SCSS
$custom: #cd6797;
$custom-light: #df95b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6797",
  "rgb": {
    "r": 205,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 331.765,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.13964,
    "h": 352.2
  },
  "luminance": 0.24914
}

Semantic roles & 50–950 ramp

primary
#CD6797
secondary
#B4DBC9
accent
#BE7728
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#150D11
muted
#847E80

Preview Lab

Preview with #CD6797

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

Preview Lab → · Contrast checker → · Palette generator →

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