#CD98BA#CD98BA

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

Color values

HEX#CD98BA
RGBrgb(205, 152, 186)
HSLhsl(322, 35%, 70%)
HSVhsv(322, 26%, 80%)
CMYKcmyk(0%, 25.9%, 9.3%, 19.6%)
CIE-LABlab(68.74, 25.22, -9.81)
CIE-LCHlch(68.74, 27.06, 338.74°)
OKLaboklab(74.03% 0.0731 -0.0259)
OKLCHoklch(74.03% 0.078 340.4)
XYZxyz(45.2676, 38.9825, 51.5847)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98BA #98CDAB
analogous
#C598CD #CD98BA #CD98A0
triadic
#CD98BA #BACD98 #98BACD
tetradic
#CD98BA #CDC598 #98CDAB #98A0CD
square
#CD98BA #CDC598 #98CDAB #98A0CD
split-complementary
#CD98BA #A0CD98 #98CDC5
monochromatic
#9E4D81 #B96F9E #CD98BA #E1C1D6 #F5EAF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD98BA#FFFFFF#000000##000000
##CD98BA1.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)
#9AA3BB
Deuteranopia (green-blind)
#A6ABB8
Tritanopia (blue-blind)
#D399A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd98ba;
/* rgb */ color: rgb(205, 152, 186);
/* oklch */ color: oklch(74.0% 0.078 340.4);
Tailwind
colors: {
  custom: {
    50: '#ddb6ce',
    500: '#cd98ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd98ba;
$custom-light: #ddb6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98ba",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 186
  },
  "hsl": {
    "h": 321.509,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74029,
    "c": 0.07752,
    "h": 340.4
  },
  "luminance": 0.38981
}

Semantic roles & 50–950 ramp

primary
#CD98BA
secondary
#D9E8DE
accent
#AD6238
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151113
muted
#838082

Preview Lab

Preview with #CD98BA

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

Preview Lab → · Contrast checker → · Palette generator →

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