#CD4B98#CD4B98

#CD4B98 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.183 H 347.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD4B98
RGBrgb(205, 75, 152)
HSLhsl(324, 57%, 55%)
HSVhsv(324, 63%, 80%)
CMYKcmyk(0%, 63.4%, 25.9%, 19.6%)
CIE-LABlab(52.15, 58.93, -15.27)
CIE-LCHlch(52.15, 60.88, 345.48°)
OKLaboklab(61.16% 0.1783 -0.0402)
OKLCHoklch(61.16% 0.183 347.3)
XYZxyz(33.3617, 20.2816, 31.8574)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B98 #4BCD80
analogous
#C14BCD #CD4B98 #CD4B57
triadic
#CD4B98 #98CD4B #4B98CD
tetradic
#CD4B98 #CDC14B #4BCD80 #4B57CD
square
#CD4B98 #CDC14B #4BCD80 #4B57CD
split-complementary
#CD4B98 #57CD4B #4BCDC1
monochromatic
#7B2257 #AB3079 #CD4B98 #DA7BB3 #E8ABCF

Accessibility & contrast

On white

4.15
#CD4B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD4B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B98
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B98#FFFFFF#000000##000000
##CD4B981.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#7F8595
Tritanopia (blue-blind)
#DB486B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4b98;
/* rgb */ color: rgb(205, 75, 152);
/* oklch */ color: oklch(61.2% 0.183 347.3);
Tailwind
colors: {
  custom: {
    50: '#e085b6',
    500: '#cd4b98',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b98;
$custom-light: #e085b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b98",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 324.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.18273,
    "h": 347.3
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#CD4B98
secondary
#9FD5B5
accent
#E08648
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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