#CD3B8E#CD3B8E

#CD3B8E is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.198 H 350.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CD3B8E
RGBrgb(205, 59, 142)
HSLhsl(326, 59%, 52%)
HSVhsv(326, 71%, 80%)
CMYKcmyk(0%, 71.2%, 30.7%, 19.6%)
CIE-LABlab(49.57, 63.83, -13.22)
CIE-LCHlch(49.57, 65.18, 348.30°)
OKLaboklab(59.14% 0.1948 -0.0345)
OKLCHoklch(59.14% 0.198 350)
XYZxyz(31.6249, 18.0636, 27.4071)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3B8E #3BCD7A
analogous
#C33BCD #CD3B8E #CD3B45
triadic
#CD3B8E #8ECD3B #3B8ECD
tetradic
#CD3B8E #CDC33B #3BCD7A #3B45CD
square
#CD3B8E #CDC33B #3BCD7A #3B45CD
split-complementary
#CD3B8E #45CD3B #3BCDC3
monochromatic
#711D4D #A2296E #CD3B8E #D96CAA #E69DC6

Accessibility & contrast

On white

4.55
#CD3B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CD3B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3B8E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3B8E#FFFFFF#000000##000000
##CD3B8E1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#526590
Deuteranopia (green-blind)
#7C7F8B
Tritanopia (blue-blind)
#DC335F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3b8e;
/* rgb */ color: rgb(205, 59, 142);
/* oklch */ color: oklch(59.1% 0.198 350.0);
Tailwind
colors: {
  custom: {
    50: '#e17daf',
    500: '#cd3b8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd3b8e;
$custom-light: #e17daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3b8e",
  "rgb": {
    "r": 205,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 325.89,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.19782,
    "h": 350
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#CD3B8E
secondary
#92D2AE
accent
#E38945
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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