#CD4897#CD4897

#CD4897 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.186 H 347.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4897
RGBrgb(205, 72, 151)
HSLhsl(324, 57%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 64.9%, 26.3%, 19.6%)
CIE-LABlab(51.67, 60.03, -15.41)
CIE-LCHlch(51.67, 61.98, 345.60°)
OKLaboklab(60.79% 0.1818 -0.0406)
OKLCHoklch(60.79% 0.186 347.4)
XYZxyz(33.0815, 19.8516, 31.3617)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4897 #48CD7E
analogous
#C148CD #CD4897 #CD4855
triadic
#CD4897 #97CD48 #4897CD
tetradic
#CD4897 #CDC148 #48CD7E #4855CD
square
#CD4897 #CDC148 #48CD7E #4855CD
split-complementary
#CD4897 #55CD48 #48CDC1
monochromatic
#792156 #A92E77 #CD4897 #DA78B2 #E7A8CE

Accessibility & contrast

On white

4.23
#CD4897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD4897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4897
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4897#FFFFFF#000000##000000
##CD48971.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D99
Deuteranopia (green-blind)
#7E8494
Tritanopia (blue-blind)
#DB4469
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4897;
/* rgb */ color: rgb(205, 72, 151);
/* oklch */ color: oklch(60.8% 0.186 347.4);
Tailwind
colors: {
  custom: {
    50: '#e083b5',
    500: '#cd4897',
    950: '#000000',
  },
}
SCSS
$custom: #cd4897;
$custom-light: #e083b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4897",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 324.361,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.18627,
    "h": 347.4
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#CD4897
secondary
#9CD5B3
accent
#E08647
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD4897

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

Preview Lab → · Contrast checker → · Palette generator →

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