#CD7B97#CD7B97

#CD7B97 is a light, moderate pink. Relative luminance 0.294; OKLCH L 67.9% C 0.107 H 358.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CD7B97
RGBrgb(205, 123, 151)
HSLhsl(340, 45%, 64%)
HSVhsv(340, 40%, 80%)
CMYKcmyk(0%, 40%, 26.3%, 19.6%)
CIE-LABlab(61.12, 35.44, -1.31)
CIE-LCHlch(61.12, 35.47, 357.88°)
OKLaboklab(67.86% 0.107 -0.003)
OKLCHoklch(67.86% 0.107 358.4)
XYZxyz(37.8467, 29.3821, 32.9501)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7B97 #7BCDB1
analogous
#CD7BC0 #CD7B97 #CD887B
triadic
#CD7B97 #97CD7B #7B97CD
tetradic
#CD7B97 #C0CD7B #7BCDB1 #887BCD
square
#CD7B97 #C0CD7B #7BCDB1 #887BCD
split-complementary
#CD7B97 #7BCD88 #7BC0CD
monochromatic
#953858 #BC4F74 #CD7B97 #DEA7BA #EFD4DD

Accessibility & contrast

On white

3.05
#CD7B97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#CD7B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7B97
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7B97#FFFFFF#000000##000000
##CD7B971.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868B98
Deuteranopia (green-blind)
#9A9995
Tritanopia (blue-blind)
#D97685
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd7b97;
/* rgb */ color: rgb(205, 123, 151);
/* oklch */ color: oklch(67.9% 0.107 358.4);
Tailwind
colors: {
  custom: {
    50: '#dea2b5',
    500: '#cd7b97',
    950: '#000000',
  },
}
SCSS
$custom: #cd7b97;
$custom-light: #dea2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7b97",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 339.512,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67861,
    "c": 0.10699,
    "h": 358.4
  },
  "luminance": 0.29379
}

Semantic roles & 50–950 ramp

primary
#CD7B97
secondary
#C4E0D6
accent
#B8892D
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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