#CD7898#CD7898

#CD7898 is a light, moderate pink. Relative luminance 0.287; OKLCH L 67.4% C 0.112 H 356.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CD7898
RGBrgb(205, 120, 152)
HSLhsl(337, 46%, 64%)
HSVhsv(337, 41%, 80%)
CMYKcmyk(0%, 41.5%, 25.9%, 19.6%)
CIE-LABlab(60.50, 37.18, -2.80)
CIE-LCHlch(60.50, 37.29, 355.70°)
OKLaboklab(67.4% 0.1121 -0.0069)
OKLCHoklch(67.4% 0.112 356.5)
XYZxyz(37.5618, 28.6818, 33.2575)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7898 #78CDAD
analogous
#CD78C2 #CD7898 #CD8278
triadic
#CD7898 #98CD78 #7898CD
tetradic
#CD7898 #C2CD78 #78CDAD #8278CD
square
#CD7898 #C2CD78 #78CDAD #8278CD
split-complementary
#CD7898 #78CD82 #78C2CD
monochromatic
#94375A #BC4B76 #CD7898 #DEA5BA #EED1DC

Accessibility & contrast

On white

3.12
#CD7898 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CD7898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7898
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7898#FFFFFF#000000##000000
##CD78981.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#838999
Deuteranopia (green-blind)
#989896
Tritanopia (blue-blind)
#D97483
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd7898;
/* rgb */ color: rgb(205, 120, 152);
/* oklch */ color: oklch(67.4% 0.112 356.5);
Tailwind
colors: {
  custom: {
    50: '#dea0b6',
    500: '#cd7898',
    950: '#000000',
  },
}
SCSS
$custom: #cd7898;
$custom-light: #dea0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7898",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 337.412,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67402,
    "c": 0.11231,
    "h": 356.5
  },
  "luminance": 0.28679
}

Semantic roles & 50–950 ramp

primary
#CD7898
secondary
#C1DFD4
accent
#B9842C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7898

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

Preview Lab → · Contrast checker → · Palette generator →

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