#CD98B2#CD98B2

#CD98B2 is a light, moderate pink. Relative luminance 0.387; OKLCH L 73.8% C 0.072 H 348.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CD98B2
RGBrgb(205, 152, 178)
HSLhsl(331, 35%, 70%)
HSVhsv(331, 26%, 80%)
CMYKcmyk(0%, 25.9%, 13.2%, 19.6%)
CIE-LABlab(68.50, 23.86, -5.71)
CIE-LCHlch(68.50, 24.53, 346.54°)
OKLaboklab(73.77% 0.0703 -0.0149)
OKLCHoklch(73.77% 0.072 348.1)
XYZxyz(44.4409, 38.6518, 47.2305)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98B2 #98CDB3
analogous
#CD98CD #CD98B2 #CD9898
triadic
#CD98B2 #B2CD98 #98B2CD
tetradic
#CD98B2 #CDCD98 #98CDB3 #9898CD
square
#CD98B2 #CDCD98 #98CDB3 #9898CD
split-complementary
#CD98B2 #98CD98 #98CDCD
monochromatic
#9E4D75 #B96F93 #CD98B2 #E1C1D1 #F5EAF0

Accessibility & contrast

On white

2.41
#CD98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CD98B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98B2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98B2#FFFFFF#000000##000000
##CD98B21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA2B3
Deuteranopia (green-blind)
#A8AAB1
Tritanopia (blue-blind)
#D597A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd98b2;
/* rgb */ color: rgb(205, 152, 178);
/* oklch */ color: oklch(73.8% 0.072 348.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6c9',
    500: '#cd98b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd98b2;
$custom-light: #ddb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98b2",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 330.566,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.73765,
    "c": 0.07183,
    "h": 348.1
  },
  "luminance": 0.3865
}

Semantic roles & 50–950 ramp

primary
#CD98B2
secondary
#D9E8E1
accent
#AD7438
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CD98B2

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

Preview Lab → · Contrast checker → · Palette generator →

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