#CD4A98#CD4A98

#CD4A98 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.184 H 347.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD4A98
RGBrgb(205, 74, 152)
HSLhsl(324, 57%, 55%)
HSVhsv(324, 64%, 80%)
CMYKcmyk(0%, 63.9%, 25.9%, 19.6%)
CIE-LABlab(52.00, 59.35, -15.50)
CIE-LCHlch(52.00, 61.34, 345.37°)
OKLaboklab(61.05% 0.1795 -0.0408)
OKLCHoklch(61.05% 0.184 347.2)
XYZxyz(33.2944, 20.1470, 31.8350)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A98 #4ACD7F
analogous
#C14ACD #CD4A98 #CD4A56
triadic
#CD4A98 #98CD4A #4A98CD
tetradic
#CD4A98 #CDC14A #4ACD7F #4A56CD
square
#CD4A98 #CDC14A #4ACD7F #4A56CD
split-complementary
#CD4A98 #56CD4A #4ACDC1
monochromatic
#7B2257 #AB2F79 #CD4A98 #DA7AB3 #E7AACF

Accessibility & contrast

On white

4.18
#CD4A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD4A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A98
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A98#FFFFFF#000000##000000
##CD4A981.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#596E9A
Deuteranopia (green-blind)
#7F8495
Tritanopia (blue-blind)
#DB476B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4a98;
/* rgb */ color: rgb(205, 74, 152);
/* oklch */ color: oklch(61.0% 0.184 347.2);
Tailwind
colors: {
  custom: {
    50: '#e084b6',
    500: '#cd4a98',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a98;
$custom-light: #e084b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a98",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 324.275,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.18412,
    "h": 347.2
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#CD4A98
secondary
#9ED5B4
accent
#E08548
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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