#CD3BA8#CD3BA8

#CD3BA8 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.2% C 0.213 H 339.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD3BA8
RGBrgb(205, 59, 168)
HSLhsl(315, 59%, 52%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 71.2%, 18%, 19.6%)
CIE-LABlab(50.61, 67.14, -27.08)
CIE-LCHlch(50.61, 72.40, 338.04°)
OKLaboklab(60.24% 0.2 -0.0731)
OKLCHoklch(60.24% 0.213 339.9)
XYZxyz(33.8096, 18.9375, 38.9129)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3BA8 #3BCD60
analogous
#A93BCD #CD3BA8 #CD3B5F
triadic
#CD3BA8 #A8CD3B #3BA8CD
tetradic
#CD3BA8 #CDA93B #3BCD60 #3B5FCD
square
#CD3BA8 #CDA93B #3BCD60 #3B5FCD
split-complementary
#CD3BA8 #5FCD3B #3BCDA9
monochromatic
#711D5C #A22983 #CD3BA8 #D96CBE #E69DD3

Accessibility & contrast

On white

4.39
#CD3BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CD3BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3BA8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3BA8#FFFFFF#000000##000000
##CD3BA81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#456AAB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#D9406D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd3ba8;
/* rgb */ color: rgb(205, 59, 168);
/* oklch */ color: oklch(60.2% 0.213 339.9);
Tailwind
colors: {
  custom: {
    50: '#e07ec2',
    500: '#cd3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ba8;
$custom-light: #e07ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ba8",
  "rgb": {
    "r": 205,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 315.205,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6024,
    "c": 0.21292,
    "h": 339.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#CD3BA8
secondary
#92D2A2
accent
#E36D45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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