#CD4D98#CD4D98

#CD4D98 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.180 H 347.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CD4D98
RGBrgb(205, 77, 152)
HSLhsl(325, 56%, 55%)
HSVhsv(325, 62%, 80%)
CMYKcmyk(0%, 62.4%, 25.9%, 19.6%)
CIE-LABlab(52.46, 58.09, -14.80)
CIE-LCHlch(52.46, 59.95, 345.71°)
OKLaboklab(61.38% 0.1757 -0.0389)
OKLCHoklch(61.38% 0.18 347.5)
XYZxyz(33.4995, 20.5572, 31.9034)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D98 #4DCD82
analogous
#C24DCD #CD4D98 #CD4D58
triadic
#CD4D98 #98CD4D #4D98CD
tetradic
#CD4D98 #CDC24D #4DCD82 #4D58CD
square
#CD4D98 #CDC24D #4DCD82 #4D58CD
split-complementary
#CD4D98 #58CD4D #4DCDC2
monochromatic
#7D2357 #AC3079 #CD4D98 #DA7DB4 #E8ADCF

Accessibility & contrast

On white

4.11
#CD4D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CD4D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D98
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D98#FFFFFF#000000##000000
##CD4D981.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#DA4A6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4d98;
/* rgb */ color: rgb(205, 77, 152);
/* oklch */ color: oklch(61.4% 0.180 347.5);
Tailwind
colors: {
  custom: {
    50: '#e086b6',
    500: '#cd4d98',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d98;
$custom-light: #e086b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d98",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 324.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.17994,
    "h": 347.5
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#CD4D98
secondary
#A0D6B6
accent
#DF8748
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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