#CD7398#CD7398

#CD7398 is a light, vivid pink. Relative luminance 0.275; OKLCH L 66.6% C 0.121 H 354.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CD7398
RGBrgb(205, 115, 152)
HSLhsl(335, 47%, 63%)
HSVhsv(335, 44%, 80%)
CMYKcmyk(0%, 43.9%, 25.9%, 19.6%)
CIE-LABlab(59.44, 39.82, -4.35)
CIE-LCHlch(59.44, 40.05, 353.76°)
OKLaboklab(66.6% 0.12 -0.011)
OKLCHoklch(66.6% 0.121 354.8)
XYZxyz(36.9761, 27.5104, 33.0622)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7398 #73CDA8
analogous
#CD73C5 #CD7398 #CD7B73
triadic
#CD7398 #98CD73 #7398CD
tetradic
#CD7398 #C5CD73 #73CDA8 #7B73CD
square
#CD7398 #C5CD73 #73CDA8 #7B73CD
split-complementary
#CD7398 #73CD7B #73C5CD
monochromatic
#92345A #BD4677 #CD7398 #DDA0B9 #EDCDDA

Accessibility & contrast

On white

3.23
#CD7398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CD7398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7398
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7398#FFFFFF#000000##000000
##CD73981.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8599
Deuteranopia (green-blind)
#959596
Tritanopia (blue-blind)
#D96F80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd7398;
/* rgb */ color: rgb(205, 115, 152);
/* oklch */ color: oklch(66.6% 0.121 354.8);
Tailwind
colors: {
  custom: {
    50: '#de9db6',
    500: '#cd7398',
    950: '#000000',
  },
}
SCSS
$custom: #cd7398;
$custom-light: #de9db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7398",
  "rgb": {
    "r": 205,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 335.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66602,
    "c": 0.12053,
    "h": 354.8
  },
  "luminance": 0.27508
}

Semantic roles & 50–950 ramp

primary
#CD7398
secondary
#BEDED1
accent
#BB802B
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E11
muted
#837E80

Preview Lab

Preview with #CD7398

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

Preview Lab → · Contrast checker → · Palette generator →

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