#CD98AB#CD98AB

#CD98AB is a light, moderate pink. Relative luminance 0.384; OKLCH L 73.5% C 0.068 H 355.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CD98AB
RGBrgb(205, 152, 171)
HSLhsl(338, 35%, 70%)
HSVhsv(338, 26%, 80%)
CMYKcmyk(0%, 25.9%, 16.6%, 19.6%)
CIE-LABlab(68.30, 22.72, -2.10)
CIE-LCHlch(68.30, 22.82, 354.72°)
OKLaboklab(73.55% 0.0678 -0.0052)
OKLCHoklch(73.55% 0.068 355.6)
XYZxyz(43.7559, 38.3778, 43.6230)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98AB #98CDBA
analogous
#CD98C5 #CD98AB #CDA098
triadic
#CD98AB #ABCD98 #98ABCD
tetradic
#CD98AB #C5CD98 #98CDBA #A098CD
square
#CD98AB #C5CD98 #98CDBA #A098CD
split-complementary
#CD98AB #98CDA0 #98C5CD
monochromatic
#9E4D6A #B96F89 #CD98AB #E1C1CD #F5EAEE

Accessibility & contrast

On white

2.42
#CD98AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CD98AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98AB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98AB#FFFFFF#000000##000000
##CD98AB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA1AC
Deuteranopia (green-blind)
#AAAAAA
Tritanopia (blue-blind)
#D6969E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd98ab;
/* rgb */ color: rgb(205, 152, 171);
/* oklch */ color: oklch(73.5% 0.068 355.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6c4',
    500: '#cd98ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd98ab;
$custom-light: #ddb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98ab",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 171
  },
  "hsl": {
    "h": 338.491,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.06795,
    "h": 355.6
  },
  "luminance": 0.38376
}

Semantic roles & 50–950 ramp

primary
#CD98AB
secondary
#D9E8E3
accent
#AD8338
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #CD98AB

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

Preview Lab → · Contrast checker → · Palette generator →

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