#CD305B#CD305B

#CD305B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.193 H 10.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD305B
RGBrgb(205, 48, 91)
HSLhsl(344, 62%, 50%)
HSVhsv(344, 77%, 80%)
CMYKcmyk(0%, 76.6%, 55.6%, 19.6%)
CIE-LABlab(46.78, 62.58, 13.77)
CIE-LCHlch(46.78, 64.08, 12.41°)
OKLaboklab(56.59% 0.1897 0.0347)
OKLCHoklch(56.59% 0.193 10.4)
XYZxyz(28.1248, 15.8524, 11.4744)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD305B #30CDA2
analogous
#CD30A9 #CD305B #CD5430
triadic
#CD305B #5BCD30 #305BCD
tetradic
#CD305B #A9CD30 #30CDA2 #5430CD
square
#CD305B #A9CD30 #30CDA2 #5430CD
split-complementary
#CD305B #30CD54 #30A9CD
monochromatic
#6A192F #9B2445 #CD305B #DA6082 #E592A9

Accessibility & contrast

On white

5.04
#CD305B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CD305B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD305B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD305B#FFFFFF#000000##FFFFFF
##CD305B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5C
Deuteranopia (green-blind)
#837A57
Tritanopia (blue-blind)
#E00042
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cd305b;
/* rgb */ color: rgb(205, 48, 91);
/* oklch */ color: oklch(56.6% 0.193 10.4);
Tailwind
colors: {
  custom: {
    50: '#e37789',
    500: '#cd305b',
    950: '#000000',
  },
}
SCSS
$custom: #cd305b;
$custom-light: #e37789;
$custom-dark: #000000;
JSON
{
  "hex": "#cd305b",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 343.567,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.19289,
    "h": 10.4
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#CD305B
secondary
#89D0BD
accent
#E5B943
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CD305B

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

Preview Lab → · Contrast checker → · Palette generator →

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