#CD498C#CD498C

#CD498C is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.179 H 352.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CD498C
RGBrgb(205, 73, 140)
HSLhsl(330, 57%, 55%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 64.4%, 31.7%, 19.6%)
CIE-LABlab(51.43, 58.26, -9.23)
CIE-LCHlch(51.43, 58.98, 350.99°)
OKLaboklab(60.48% 0.1776 -0.0238)
OKLCHoklch(60.48% 0.179 352.4)
XYZxyz(32.2947, 19.6411, 26.8962)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD498C #49CD8A
analogous
#CC49CD #CD498C #CD494A
triadic
#CD498C #8CCD49 #498CCD
tetradic
#CD498C #CDCC49 #49CD8A #494ACD
square
#CD498C #CDCC49 #49CD8A #494ACD
split-complementary
#CD498C #4ACD49 #49CDCC
monochromatic
#7A224E #AA2F6D #CD498C #DA79AA #E7A9C9

Accessibility & contrast

On white

4.26
#CD498C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD498C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD498C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD498C#FFFFFF#000000##000000
##CD498C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8E
Deuteranopia (green-blind)
#828389
Tritanopia (blue-blind)
#DC4164
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd498c;
/* rgb */ color: rgb(205, 73, 140);
/* oklch */ color: oklch(60.5% 0.179 352.4);
Tailwind
colors: {
  custom: {
    50: '#e084ad',
    500: '#cd498c',
    950: '#000000',
  },
}
SCSS
$custom: #cd498c;
$custom-light: #e084ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd498c",
  "rgb": {
    "r": 205,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 329.545,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.17917,
    "h": 352.4
  },
  "luminance": 0.19638
}

Semantic roles & 50–950 ramp

primary
#CD498C
secondary
#9DD5B8
accent
#E09348
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD498C

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

Preview Lab → · Contrast checker → · Palette generator →

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