#CD7B98#CD7B98

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

Color values

HEX#CD7B98
RGBrgb(205, 123, 152)
HSLhsl(339, 45%, 64%)
HSVhsv(339, 40%, 80%)
CMYKcmyk(0%, 40%, 25.9%, 19.6%)
CIE-LABlab(61.15, 35.58, -1.85)
CIE-LCHlch(61.15, 35.63, 357.03°)
OKLaboklab(67.89% 0.1073 -0.0044)
OKLCHoklch(67.89% 0.107 357.7)
XYZxyz(37.9283, 29.4148, 33.3796)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7B98 #7BCDB0
analogous
#CD7BC1 #CD7B98 #CD877B
triadic
#CD7B98 #98CD7B #7B98CD
tetradic
#CD7B98 #C1CD7B #7BCDB0 #877BCD
square
#CD7B98 #C1CD7B #7BCDB0 #877BCD
split-complementary
#CD7B98 #7BCD87 #7BC1CD
monochromatic
#953859 #BC4F75 #CD7B98 #DEA7BB #EFD4DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7B98#FFFFFF#000000##000000
##CD7B981.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)
#868B99
Deuteranopia (green-blind)
#9A9996
Tritanopia (blue-blind)
#D97785
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd7b98;
/* rgb */ color: rgb(205, 123, 152);
/* oklch */ color: oklch(67.9% 0.107 357.7);
Tailwind
colors: {
  custom: {
    50: '#dea2b6',
    500: '#cd7b98',
    950: '#000000',
  },
}
SCSS
$custom: #cd7b98;
$custom-light: #dea2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7b98",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 152
  },
  "hsl": {
    "h": 338.78,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.1074,
    "h": 357.7
  },
  "luminance": 0.29412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7B98

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

Preview Lab → · Contrast checker → · Palette generator →

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