#CD5297#CD5297

#CD5297 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.172 H 348.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CD5297
RGBrgb(205, 82, 151)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60%, 26.3%, 19.6%)
CIE-LABlab(53.22, 55.80, -13.06)
CIE-LCHlch(53.22, 57.30, 346.83°)
OKLaboklab(61.93% 0.1688 -0.0342)
OKLCHoklch(61.93% 0.172 348.5)
XYZxyz(33.7814, 21.2514, 31.5950)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5297 #52CD88
analogous
#C552CD #CD5297 #CD525A
triadic
#CD5297 #97CD52 #5297CD
tetradic
#CD5297 #CDC552 #52CD88 #525ACD
square
#CD5297 #CDC552 #52CD88 #525ACD
split-complementary
#CD5297 #5ACD52 #52CDC5
monochromatic
#802558 #AF3378 #CD5297 #DB81B4 #E8B1D0

Accessibility & contrast

On white

4.00
#CD5297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CD5297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5297
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5297#FFFFFF#000000##000000
##CD52971.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#DA4E6E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5297;
/* rgb */ color: rgb(205, 82, 151);
/* oklch */ color: oklch(61.9% 0.172 348.5);
Tailwind
colors: {
  custom: {
    50: '#e089b5',
    500: '#cd5297',
    950: '#000000',
  },
}
SCSS
$custom: #cd5297;
$custom-light: #e089b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5297",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 326.341,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.17219,
    "h": 348.5
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#CD5297
secondary
#A4D7BA
accent
#DE8B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5297

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

Preview Lab → · Contrast checker → · Palette generator →

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