#CD98BF#CD98BF

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

Color values

HEX#CD98BF
RGBrgb(205, 152, 191)
HSLhsl(316, 35%, 70%)
HSVhsv(316, 26%, 80%)
CMYKcmyk(0%, 25.9%, 6.8%, 19.6%)
CIE-LABlab(68.89, 26.09, -12.36)
CIE-LCHlch(68.89, 28.87, 334.65°)
OKLaboklab(74.2% 0.0747 -0.0329)
OKLCHoklch(74.2% 0.082 336.2)
XYZxyz(45.8085, 39.1988, 54.4332)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98BF #98CDA6
analogous
#C198CD #CD98BF #CD98A4
triadic
#CD98BF #BFCD98 #98BFCD
tetradic
#CD98BF #CDC198 #98CDA6 #98A4CD
square
#CD98BF #CDC198 #98CDA6 #98A4CD
split-complementary
#CD98BF #A4CD98 #98CDC1
monochromatic
#9E4D88 #B96FA5 #CD98BF #E1C1D9 #F5EAF2

Accessibility & contrast

On white

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

On black

8.84
#CD98BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98BF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98BF#FFFFFF#000000##000000
##CD98BF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3C1
Deuteranopia (green-blind)
#A5ABBD
Tritanopia (blue-blind)
#D39AA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd98bf;
/* rgb */ color: rgb(205, 152, 191);
/* oklch */ color: oklch(74.2% 0.082 336.2);
Tailwind
colors: {
  custom: {
    50: '#ddb6d2',
    500: '#cd98bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd98bf;
$custom-light: #ddb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98bf",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 315.849,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.08164,
    "h": 336.2
  },
  "luminance": 0.39197
}

Semantic roles & 50–950 ramp

primary
#CD98BF
secondary
#D9E8DD
accent
#AD5738
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD98BF

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

Preview Lab → · Contrast checker → · Palette generator →

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