#CD5A92#CD5A92

#CD5A92 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.158 H 352.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5A92
RGBrgb(205, 90, 146)
HSLhsl(331, 53%, 58%)
HSVhsv(331, 56%, 80%)
CMYKcmyk(0%, 56.1%, 28.8%, 19.6%)
CIE-LABlab(54.42, 51.49, -8.32)
CIE-LCHlch(54.42, 52.16, 350.82°)
OKLaboklab(62.77% 0.1561 -0.0214)
OKLCHoklch(62.77% 0.158 352.2)
XYZxyz(34.0227, 22.3700, 29.7146)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A92 #5ACD95
analogous
#CD5ACB #CD5A92 #CD5C5A
triadic
#CD5A92 #92CD5A #5A92CD
tetradic
#CD5A92 #CBCD5A #5ACD95 #5C5ACD
square
#CD5A92 #CBCD5A #5ACD95 #5C5ACD
split-complementary
#CD5A92 #5ACD5C #5ACBCD
monochromatic
#842855 #B33673 #CD5A92 #DB89B1 #E9B8D0

Accessibility & contrast

On white

3.84
#CD5A92 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CD5A92 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A92
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A92#FFFFFF#000000##000000
##CD5A921.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697594
Deuteranopia (green-blind)
#888A8F
Tritanopia (blue-blind)
#DB5470
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5a92;
/* rgb */ color: rgb(205, 90, 146);
/* oklch */ color: oklch(62.8% 0.158 352.2);
Tailwind
colors: {
  custom: {
    50: '#df8db2',
    500: '#cd5a92',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a92;
$custom-light: #df8db2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a92",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 146
  },
  "hsl": {
    "h": 330.783,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62765,
    "c": 0.15756,
    "h": 352.2
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#CD5A92
secondary
#AAD8C2
accent
#DD964B
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CD5A92

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

Preview Lab → · Contrast checker → · Palette generator →

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