#CD98BE#CD98BE

#CD98BE is a light, moderate pink. Relative luminance 0.392; OKLCH L 74.2% C 0.081 H 337.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD98BE
RGBrgb(205, 152, 190)
HSLhsl(317, 35%, 70%)
HSVhsv(317, 26%, 80%)
CMYKcmyk(0%, 25.9%, 7.3%, 19.6%)
CIE-LABlab(68.86, 25.91, -11.85)
CIE-LCHlch(68.86, 28.50, 335.42°)
OKLaboklab(74.17% 0.0744 -0.0315)
OKLCHoklch(74.17% 0.081 337)
XYZxyz(45.6988, 39.1550, 53.8557)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98BE #98CDA7
analogous
#C298CD #CD98BE #CD98A3
triadic
#CD98BE #BECD98 #98BECD
tetradic
#CD98BE #CDC298 #98CDA7 #98A3CD
square
#CD98BE #CDC298 #98CDA7 #98A3CD
split-complementary
#CD98BE #A3CD98 #98CDC2
monochromatic
#9E4D87 #B96FA4 #CD98BE #E1C1D8 #F5EAF2

Accessibility & contrast

On white

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

On black

8.83
#CD98BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98BE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98BE#FFFFFF#000000##000000
##CD98BE1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd98be;
/* rgb */ color: rgb(205, 152, 190);
/* oklch */ color: oklch(74.2% 0.081 337.0);
Tailwind
colors: {
  custom: {
    50: '#ddb6d1',
    500: '#cd98be',
    950: '#000000',
  },
}
SCSS
$custom: #cd98be;
$custom-light: #ddb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98be",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 190
  },
  "hsl": {
    "h": 316.981,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.08079,
    "h": 337
  },
  "luminance": 0.39153
}

Semantic roles & 50–950 ramp

primary
#CD98BE
secondary
#D9E8DD
accent
#AD5938
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD98BE

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

Preview Lab → · Contrast checker → · Palette generator →

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