#CD097D#CD097D

#CD097D is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.7% C 0.226 H 353.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CD097D
RGBrgb(205, 9, 125)
HSLhsl(324, 92%, 42%)
HSVhsv(324, 96%, 80%)
CMYKcmyk(0%, 95.6%, 39%, 19.6%)
CIE-LABlab(45.16, 72.89, -9.55)
CIE-LCHlch(45.16, 73.51, 352.54°)
OKLaboklab(55.73% 0.225 -0.0243)
OKLCHoklch(55.73% 0.226 353.8)
XYZxyz(28.9784, 14.6591, 20.7016)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD097D #09CD59
analogous
#BB09CD #CD097D #CD091B
triadic
#CD097D #7DCD09 #097DCD
tetradic
#CD097D #CDBB09 #09CD59 #091BCD
square
#CD097D #CDBB09 #09CD59 #091BCD
split-complementary
#CD097D #1BCD09 #09CDBB
monochromatic
#580436 #920659 #CD097D #F51E9D #F859B7

Accessibility & contrast

On white

5.34
#CD097D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#CD097D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD097D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD097D#FFFFFF#000000##FFFFFF
##CD097D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#767679
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #cd097d;
/* rgb */ color: rgb(205, 9, 125);
/* oklch */ color: oklch(55.7% 0.226 353.8);
Tailwind
colors: {
  custom: {
    50: '#e26ea2',
    500: '#cd097d',
    950: '#000000',
  },
}
SCSS
$custom: #cd097d;
$custom-light: #e26ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd097d",
  "rgb": {
    "r": 205,
    "g": 9,
    "b": 125
  },
  "hsl": {
    "h": 324.49,
    "s": 91.589,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.22628,
    "h": 353.8
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#CD097D
secondary
#57DA8D
accent
#FF8029
background
#FEF7F9
surface
#FDEDF2
border
#D5C8CC
text
#17090F
muted
#857B7E

Preview Lab

Preview with #CD097D

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

Preview Lab → · Contrast checker → · Palette generator →

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