#CD306B#CD306B

#CD306B is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.196 H 3.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD306B
RGBrgb(205, 48, 107)
HSLhsl(337, 62%, 50%)
HSVhsv(337, 77%, 80%)
CMYKcmyk(0%, 76.6%, 47.8%, 19.6%)
CIE-LABlab(47.18, 63.85, 4.49)
CIE-LCHlch(47.18, 64.00, 4.03°)
OKLaboklab(57.02% 0.1956 0.0122)
OKLCHoklch(57.02% 0.196 3.6)
XYZxyz(28.8901, 16.1585, 15.5047)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD306B #30CD92
analogous
#CD30BA #CD306B #CD4330
triadic
#CD306B #6BCD30 #306BCD
tetradic
#CD306B #BACD30 #30CD92 #4330CD
square
#CD306B #BACD30 #30CD92 #4330CD
split-complementary
#CD306B #30CD43 #30BACD
monochromatic
#6A1937 #9B2451 #CD306B #DA608E #E592B1

Accessibility & contrast

On white

4.96
#CD306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CD306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD306B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD306B#FFFFFF#000000##FFFFFF
##CD306B1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565C6C
Deuteranopia (green-blind)
#807B67
Tritanopia (blue-blind)
#DF044A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cd306b;
/* rgb */ color: rgb(205, 48, 107);
/* oklch */ color: oklch(57.0% 0.196 3.6);
Tailwind
colors: {
  custom: {
    50: '#e27795',
    500: '#cd306b',
    950: '#000000',
  },
}
SCSS
$custom: #cd306b;
$custom-light: #e27795;
$custom-dark: #000000;
JSON
{
  "hex": "#cd306b",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 337.452,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.19598,
    "h": 3.6
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#CD306B
secondary
#89D0B5
accent
#E5A843
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CD306B

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

Preview Lab → · Contrast checker → · Palette generator →

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