#CD4E97#CD4E97

#CD4E97 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.178 H 348.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CD4E97
RGBrgb(205, 78, 151)
HSLhsl(326, 56%, 55%)
HSVhsv(326, 62%, 80%)
CMYKcmyk(0%, 62%, 26.3%, 19.6%)
CIE-LABlab(52.58, 57.54, -14.03)
CIE-LCHlch(52.58, 59.22, 346.30°)
OKLaboklab(61.46% 0.1741 -0.0368)
OKLCHoklch(61.46% 0.178 348.1)
XYZxyz(33.4885, 20.6656, 31.4974)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E97 #4ECD84
analogous
#C44ECD #CD4E97 #CD4E57
triadic
#CD4E97 #97CD4E #4E97CD
tetradic
#CD4E97 #CDC44E #4ECD84 #4E57CD
square
#CD4E97 #CDC44E #4ECD84 #4E57CD
split-complementary
#CD4E97 #57CD4E #4ECDC4
monochromatic
#7D2357 #AD3178 #CD4E97 #DA7EB3 #E8ADCF

Accessibility & contrast

On white

4.09
#CD4E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CD4E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E97
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E97#FFFFFF#000000##000000
##CD4E971.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7099
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#DB4A6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4e97;
/* rgb */ color: rgb(205, 78, 151);
/* oklch */ color: oklch(61.5% 0.178 348.1);
Tailwind
colors: {
  custom: {
    50: '#e087b5',
    500: '#cd4e97',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e97;
$custom-light: #e087b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e97",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 325.512,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.17796,
    "h": 348.1
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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