#CD98AF#CD98AF

#CD98AF is a light, moderate pink. Relative luminance 0.385; OKLCH L 73.7% C 0.070 H 351.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD98AF
RGBrgb(205, 152, 175)
HSLhsl(334, 35%, 70%)
HSVhsv(334, 26%, 80%)
CMYKcmyk(0%, 25.9%, 14.6%, 19.6%)
CIE-LABlab(68.41, 23.37, -4.16)
CIE-LCHlch(68.41, 23.73, 349.89°)
OKLaboklab(73.67% 0.0692 -0.0107)
OKLCHoklch(73.67% 0.07 351.2)
XYZxyz(44.1430, 38.5326, 45.6615)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98AF #98CDB6
analogous
#CD98CA #CD98AF #CD9B98
triadic
#CD98AF #AFCD98 #98AFCD
tetradic
#CD98AF #CACD98 #98CDB6 #9B98CD
square
#CD98AF #CACD98 #98CDB6 #9B98CD
split-complementary
#CD98AF #98CD9B #98CACD
monochromatic
#9E4D70 #B96F8F #CD98AF #E1C1CF #F5EAEF

Accessibility & contrast

On white

2.41
#CD98AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CD98AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98AF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98AF#FFFFFF#000000##000000
##CD98AF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA2B0
Deuteranopia (green-blind)
#A9AAAE
Tritanopia (blue-blind)
#D597A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd98af;
/* rgb */ color: rgb(205, 152, 175);
/* oklch */ color: oklch(73.7% 0.070 351.2);
Tailwind
colors: {
  custom: {
    50: '#ddb6c6',
    500: '#cd98af',
    950: '#000000',
  },
}
SCSS
$custom: #cd98af;
$custom-light: #ddb6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98af",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 175
  },
  "hsl": {
    "h": 333.962,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.7367,
    "c": 0.07003,
    "h": 351.2
  },
  "luminance": 0.38531
}

Semantic roles & 50–950 ramp

primary
#CD98AF
secondary
#D9E8E1
accent
#AD7B38
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CD98AF

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

Preview Lab → · Contrast checker → · Palette generator →

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