#CD98BD#CD98BD

#CD98BD is a light, moderate pink. Relative luminance 0.391; OKLCH L 74.1% C 0.080 H 337.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CD98BD
RGBrgb(205, 152, 189)
HSLhsl(318, 35%, 70%)
HSVhsv(318, 26%, 80%)
CMYKcmyk(0%, 25.9%, 7.8%, 19.6%)
CIE-LABlab(68.83, 25.74, -11.34)
CIE-LCHlch(68.83, 28.13, 336.22°)
OKLaboklab(74.13% 0.0741 -0.0301)
OKLCHoklch(74.13% 0.08 337.9)
XYZxyz(45.5899, 39.1114, 53.2820)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98BD #98CDA8
analogous
#C398CD #CD98BD #CD98A2
triadic
#CD98BD #BDCD98 #98BDCD
tetradic
#CD98BD #CDC398 #98CDA8 #98A2CD
square
#CD98BD #CDC398 #98CDA8 #98A2CD
split-complementary
#CD98BD #A2CD98 #98CDC3
monochromatic
#9E4D85 #B96FA3 #CD98BD #E1C1D7 #F5EAF2

Accessibility & contrast

On white

2.38
#CD98BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CD98BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98BD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98BD#FFFFFF#000000##000000
##CD98BD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3BE
Deuteranopia (green-blind)
#A5ABBB
Tritanopia (blue-blind)
#D399A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd98bd;
/* rgb */ color: rgb(205, 152, 189);
/* oklch */ color: oklch(74.1% 0.080 337.9);
Tailwind
colors: {
  custom: {
    50: '#ddb6d0',
    500: '#cd98bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd98bd;
$custom-light: #ddb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98bd",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 318.113,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74132,
    "c": 0.07995,
    "h": 337.9
  },
  "luminance": 0.3911
}

Semantic roles & 50–950 ramp

primary
#CD98BD
secondary
#D9E8DD
accent
#AD5B38
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD98BD

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

Preview Lab → · Contrast checker → · Palette generator →

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