#CD4298#CD4298

#CD4298 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.195 H 346.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD4298
RGBrgb(205, 66, 152)
HSLhsl(323, 58%, 53%)
HSVhsv(323, 68%, 80%)
CMYKcmyk(0%, 67.8%, 25.9%, 19.6%)
CIE-LABlab(50.86, 62.51, -17.24)
CIE-LCHlch(50.86, 64.84, 344.58°)
OKLaboklab(60.2% 0.1893 -0.0456)
OKLCHoklch(60.2% 0.195 346.5)
XYZxyz(32.7939, 19.1460, 31.6682)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4298 #42CD77
analogous
#BD42CD #CD4298 #CD4252
triadic
#CD4298 #98CD42 #4298CD
tetradic
#CD4298 #CDBD42 #42CD77 #4252CD
square
#CD4298 #CDBD42 #42CD77 #4252CD
split-complementary
#CD4298 #52CD42 #42CDBD
monochromatic
#761F55 #A62C77 #CD4298 #DA72B2 #E7A3CD

Accessibility & contrast

On white

4.35
#CD4298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CD4298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4298
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4298#FFFFFF#000000##000000
##CD42981.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#7B8295
Tritanopia (blue-blind)
#DB3F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4298;
/* rgb */ color: rgb(205, 66, 152);
/* oklch */ color: oklch(60.2% 0.195 346.5);
Tailwind
colors: {
  custom: {
    50: '#e080b6',
    500: '#cd4298',
    950: '#000000',
  },
}
SCSS
$custom: #cd4298;
$custom-light: #e080b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4298",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 322.878,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.19468,
    "h": 346.5
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#CD4298
secondary
#97D3AE
accent
#E18246
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD4298

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

Preview Lab → · Contrast checker → · Palette generator →

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