#CD4798#CD4798

#CD4798 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.188 H 346.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD4798
RGBrgb(205, 71, 152)
HSLhsl(324, 57%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 65.4%, 25.9%, 19.6%)
CIE-LABlab(51.56, 60.56, -16.17)
CIE-LCHlch(51.56, 62.69, 345.05°)
OKLaboklab(60.72% 0.1833 -0.0427)
OKLCHoklch(60.72% 0.188 346.9)
XYZxyz(33.0989, 19.7560, 31.7698)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4798 #47CD7C
analogous
#BF47CD #CD4798 #CD4755
triadic
#CD4798 #98CD47 #4798CD
tetradic
#CD4798 #CDBF47 #47CD7C #4755CD
square
#CD4798 #CDBF47 #47CD7C #4755CD
split-complementary
#CD4798 #55CD47 #47CDBF
monochromatic
#792156 #A92E78 #CD4798 #DA77B3 #E7A7CE

Accessibility & contrast

On white

4.24
#CD4798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD4798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4798
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4798#FFFFFF#000000##000000
##CD47981.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#7E8395
Tritanopia (blue-blind)
#DB4469
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4798;
/* rgb */ color: rgb(205, 71, 152);
/* oklch */ color: oklch(60.7% 0.188 346.9);
Tailwind
colors: {
  custom: {
    50: '#e083b6',
    500: '#cd4798',
    950: '#000000',
  },
}
SCSS
$custom: #cd4798;
$custom-light: #e083b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4798",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 323.731,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.18818,
    "h": 346.9
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#CD4798
secondary
#9BD4B2
accent
#E18447
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD4798

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

Preview Lab → · Contrast checker → · Palette generator →

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