#CD98BB#CD98BB

#CD98BB is a light, moderate pink. Relative luminance 0.390; OKLCH L 74.1% C 0.078 H 339.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD98BB
RGBrgb(205, 152, 187)
HSLhsl(320, 35%, 70%)
HSVhsv(320, 26%, 80%)
CMYKcmyk(0%, 25.9%, 8.8%, 19.6%)
CIE-LABlab(68.77, 25.39, -10.32)
CIE-LCHlch(68.77, 27.41, 337.87°)
OKLaboklab(74.06% 0.0734 -0.0273)
OKLCHoklch(74.06% 0.078 339.6)
XYZxyz(45.3743, 39.0252, 52.1466)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98BB #98CDAA
analogous
#C498CD #CD98BB #CD98A1
triadic
#CD98BB #BBCD98 #98BBCD
tetradic
#CD98BB #CDC498 #98CDAA #98A1CD
square
#CD98BB #CDC498 #98CDAA #98A1CD
split-complementary
#CD98BB #A1CD98 #98CDC4
monochromatic
#9E4D82 #B96FA0 #CD98BB #E1C1D6 #F5EAF1

Accessibility & contrast

On white

2.39
#CD98BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CD98BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98BB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98BB#FFFFFF#000000##000000
##CD98BB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA3BC
Deuteranopia (green-blind)
#A6ABB9
Tritanopia (blue-blind)
#D399A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd98bb;
/* rgb */ color: rgb(205, 152, 187);
/* oklch */ color: oklch(74.1% 0.078 339.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6cf',
    500: '#cd98bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd98bb;
$custom-light: #ddb6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98bb",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 320.377,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74063,
    "c": 0.07832,
    "h": 339.6
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

primary
#CD98BB
secondary
#D9E8DE
accent
#AD6038
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151113
muted
#838082

Preview Lab

Preview with #CD98BB

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

Preview Lab → · Contrast checker → · Palette generator →

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