#CD7E98#CD7E98

#CD7E98 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.4% C 0.103 H 359.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD7E98
RGBrgb(205, 126, 152)
HSLhsl(340, 44%, 65%)
HSVhsv(340, 39%, 80%)
CMYKcmyk(0%, 38.5%, 25.9%, 19.6%)
CIE-LABlab(61.80, 33.98, -0.89)
CIE-LCHlch(61.80, 33.99, 358.51°)
OKLaboklab(68.39% 0.1025 -0.0019)
OKLCHoklch(68.39% 0.103 359)
XYZxyz(38.3062, 30.1705, 33.5056)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7E98 #7ECDB3
analogous
#CD7EC0 #CD7E98 #CD8B7E
triadic
#CD7E98 #98CD7E #7E98CD
tetradic
#CD7E98 #C0CD7E #7ECDB3 #8B7ECD
square
#CD7E98 #C0CD7E #7ECDB3 #8B7ECD
split-complementary
#CD7E98 #7ECD8B #7EC0CD
monochromatic
#963A59 #BC5275 #CD7E98 #DEAABB #EFD6DE

Accessibility & contrast

On white

2.99
#CD7E98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CD7E98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7E98
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7E98#FFFFFF#000000##000000
##CD7E981.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D99
Deuteranopia (green-blind)
#9C9B96
Tritanopia (blue-blind)
#D97987
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7e98;
/* rgb */ color: rgb(205, 126, 152);
/* oklch */ color: oklch(68.4% 0.103 359.0);
Tailwind
colors: {
  custom: {
    50: '#dea4b6',
    500: '#cd7e98',
    950: '#000000',
  },
}
SCSS
$custom: #cd7e98;
$custom-light: #dea4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7e98",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 340.253,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.10252,
    "h": 359
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#CD7E98
secondary
#C6E1D8
accent
#B78A2E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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