#CD7A98#CD7A98

#CD7A98 is a light, moderate pink. Relative luminance 0.292; OKLCH L 67.7% C 0.109 H 357.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#CD7A98
RGBrgb(205, 122, 152)
HSLhsl(338, 45%, 64%)
HSVhsv(338, 40%, 80%)
CMYKcmyk(0%, 40.5%, 25.9%, 19.6%)
CIE-LABlab(60.93, 36.12, -2.16)
CIE-LCHlch(60.93, 36.18, 356.57°)
OKLaboklab(67.73% 0.1089 -0.0052)
OKLCHoklch(67.73% 0.109 357.3)
XYZxyz(37.8049, 29.1679, 33.3385)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7A98 #7ACDAF
analogous
#CD7AC2 #CD7A98 #CD867A
triadic
#CD7A98 #98CD7A #7A98CD
tetradic
#CD7A98 #C2CD7A #7ACDAF #867ACD
square
#CD7A98 #C2CD7A #7ACDAF #867ACD
split-complementary
#CD7A98 #7ACD86 #7AC2CD
monochromatic
#953859 #BC4E76 #CD7A98 #DEA6BA #EED3DD

Accessibility & contrast

On white

3.07
#CD7A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#CD7A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7A98
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7A98#FFFFFF#000000##000000
##CD7A981.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858A99
Deuteranopia (green-blind)
#999996
Tritanopia (blue-blind)
#D97685
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd7a98;
/* rgb */ color: rgb(205, 122, 152);
/* oklch */ color: oklch(67.7% 0.109 357.3);
Tailwind
colors: {
  custom: {
    50: '#dea2b6',
    500: '#cd7a98',
    950: '#000000',
  },
}
SCSS
$custom: #cd7a98;
$custom-light: #dea2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7a98",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 338.313,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.10903,
    "h": 357.3
  },
  "luminance": 0.29165
}

Semantic roles & 50–950 ramp

primary
#CD7A98
secondary
#C3E0D5
accent
#B9862D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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