#CD5098#CD5098

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

Color values

HEX#CD5098
RGBrgb(205, 80, 152)
HSLhsl(325, 56%, 56%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 61%, 25.9%, 19.6%)
CIE-LABlab(52.93, 56.81, -14.08)
CIE-LCHlch(52.93, 58.53, 346.08°)
OKLaboklab(61.73% 0.1717 -0.037)
OKLCHoklch(61.73% 0.176 347.8)
XYZxyz(33.7143, 20.9867, 31.9750)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5098 #50CD85
analogous
#C350CD #CD5098 #CD5059
triadic
#CD5098 #98CD50 #5098CD
tetradic
#CD5098 #CDC350 #50CD85 #5059CD
square
#CD5098 #CDC350 #50CD85 #5059CD
split-complementary
#CD5098 #59CD50 #50CDC3
monochromatic
#7E2458 #AE3279 #CD5098 #DB80B4 #E8AFD0

Accessibility & contrast

On white

4.04
#CD5098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CD5098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5098
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5098#FFFFFF#000000##000000
##CD50981.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719A
Deuteranopia (green-blind)
#828695
Tritanopia (blue-blind)
#DA4C6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5098;
/* rgb */ color: rgb(205, 80, 152);
/* oklch */ color: oklch(61.7% 0.176 347.8);
Tailwind
colors: {
  custom: {
    50: '#e088b6',
    500: '#cd5098',
    950: '#000000',
  },
}
SCSS
$custom: #cd5098;
$custom-light: #e088b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5098",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 325.44,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.17566,
    "h": 347.8
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#CD5098
secondary
#A2D6B8
accent
#DF8949
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5098

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

Preview Lab → · Contrast checker → · Palette generator →

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