#CD7C97#CD7C97

#CD7C97 is a light, moderate pink. Relative luminance 0.296; OKLCH L 68.0% C 0.105 H 358.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CD7C97
RGBrgb(205, 124, 151)
HSLhsl(340, 45%, 65%)
HSVhsv(340, 40%, 80%)
CMYKcmyk(0%, 39.5%, 26.3%, 19.6%)
CIE-LABlab(61.34, 34.91, -1.00)
CIE-LCHlch(61.34, 34.92, 358.37°)
OKLaboklab(68.03% 0.1054 -0.0021)
OKLCHoklch(68.03% 0.105 358.8)
XYZxyz(37.9714, 29.6315, 32.9917)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7C97 #7CCDB2
analogous
#CD7CC0 #CD7C97 #CD8A7C
triadic
#CD7C97 #97CD7C #7C97CD
tetradic
#CD7C97 #C0CD7C #7CCDB2 #8A7CCD
square
#CD7C97 #C0CD7C #7CCDB2 #8A7CCD
split-complementary
#CD7C97 #7CCD8A #7CC0CD
monochromatic
#963958 #BC5074 #CD7C97 #DEA8BA #EFD5DD

Accessibility & contrast

On white

3.03
#CD7C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CD7C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7C97
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7C97#FFFFFF#000000##000000
##CD7C971.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#878B98
Deuteranopia (green-blind)
#9B9A95
Tritanopia (blue-blind)
#D97785
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd7c97;
/* rgb */ color: rgb(205, 124, 151);
/* oklch */ color: oklch(68.0% 0.105 358.8);
Tailwind
colors: {
  custom: {
    50: '#dea3b5',
    500: '#cd7c97',
    950: '#000000',
  },
}
SCSS
$custom: #cd7c97;
$custom-light: #dea3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7c97",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 340,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.10537,
    "h": 358.8
  },
  "luminance": 0.29629
}

Semantic roles & 50–950 ramp

primary
#CD7C97
secondary
#C4E0D7
accent
#B88A2E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7C97

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

Preview Lab → · Contrast checker → · Palette generator →

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