#CD3BAF#CD3BAF

#CD3BAF is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.218 H 337.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CD3BAF
RGBrgb(205, 59, 175)
HSLhsl(312, 59%, 52%)
HSVhsv(312, 71%, 80%)
CMYKcmyk(0%, 71.2%, 14.6%, 19.6%)
CIE-LABlab(50.93, 68.12, -30.70)
CIE-LCHlch(50.93, 74.72, 335.74°)
OKLaboklab(60.57% 0.2009 -0.0834)
OKLCHoklch(60.57% 0.218 337.5)
XYZxyz(34.4793, 19.2054, 42.4402)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3BAF #3BCD59
analogous
#A23BCD #CD3BAF #CD3B66
triadic
#CD3BAF #AFCD3B #3BAFCD
tetradic
#CD3BAF #CDA23B #3BCD59 #3B66CD
square
#CD3BAF #CDA23B #3BCD59 #3B66CD
split-complementary
#CD3BAF #66CD3B #3BCDA2
monochromatic
#711D60 #A22989 #CD3BAF #D96CC3 #E69DD7

Accessibility & contrast

On white

4.34
#CD3BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CD3BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3BAF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3BAF#FFFFFF#000000##000000
##CD3BAF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#D84370
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3baf;
/* rgb */ color: rgb(205, 59, 175);
/* oklch */ color: oklch(60.6% 0.218 337.5);
Tailwind
colors: {
  custom: {
    50: '#e07ec7',
    500: '#cd3baf',
    950: '#000000',
  },
}
SCSS
$custom: #cd3baf;
$custom-light: #e07ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3baf",
  "rgb": {
    "r": 205,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 312.329,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.21753,
    "h": 337.5
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#CD3BAF
secondary
#92D29F
accent
#E36645
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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