#CD5097#CD5097

#CD5097 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.175 H 348.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CD5097
RGBrgb(205, 80, 151)
HSLhsl(326, 56%, 56%)
HSVhsv(326, 61%, 80%)
CMYKcmyk(0%, 61%, 26.3%, 19.6%)
CIE-LABlab(52.90, 56.67, -13.55)
CIE-LCHlch(52.90, 58.27, 346.56°)
OKLaboklab(61.7% 0.1715 -0.0355)
OKLCHoklch(61.7% 0.175 348.3)
XYZxyz(33.6327, 20.9541, 31.5454)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5097 #50CD86
analogous
#C450CD #CD5097 #CD5058
triadic
#CD5097 #97CD50 #5097CD
tetradic
#CD5097 #CDC450 #50CD86 #5058CD
square
#CD5097 #CDC450 #50CD86 #5058CD
split-complementary
#CD5097 #58CD50 #50CDC4
monochromatic
#7E2457 #AE3278 #CD5097 #DB80B3 #E8AFD0

Accessibility & contrast

On white

4.05
#CD5097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CD5097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5097
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5097#FFFFFF#000000##000000
##CD50971.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#828694
Tritanopia (blue-blind)
#DB4C6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5097;
/* rgb */ color: rgb(205, 80, 151);
/* oklch */ color: oklch(61.7% 0.175 348.3);
Tailwind
colors: {
  custom: {
    50: '#e088b5',
    500: '#cd5097',
    950: '#000000',
  },
}
SCSS
$custom: #cd5097;
$custom-light: #e088b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5097",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 325.92,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.17509,
    "h": 348.3
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#CD5097
secondary
#A2D6B9
accent
#DF8A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5097

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

Preview Lab → · Contrast checker → · Palette generator →

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