#CD4BA2#CD4BA2

#CD4BA2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.6% C 0.189 H 343.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD4BA2
RGBrgb(205, 75, 162)
HSLhsl(320, 57%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 63.4%, 21%, 19.6%)
CIE-LABlab(52.53, 60.28, -20.59)
CIE-LCHlch(52.53, 63.70, 341.14°)
OKLaboklab(61.56% 0.1806 -0.055)
OKLCHoklch(61.56% 0.189 343.1)
XYZxyz(34.2155, 20.6231, 36.3541)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BA2 #4BCD76
analogous
#B74BCD #CD4BA2 #CD4B61
triadic
#CD4BA2 #A2CD4B #4BA2CD
tetradic
#CD4BA2 #CDB74B #4BCD76 #4B61CD
square
#CD4BA2 #CDB74B #4BCD76 #4B61CD
split-complementary
#CD4BA2 #61CD4B #4BCDB7
monochromatic
#7B225E #AB3082 #CD4BA2 #DA7BBB #E8ABD3

Accessibility & contrast

On white

4.10
#CD4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD4BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BA2#FFFFFF#000000##000000
##CD4BA21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D94B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4ba2;
/* rgb */ color: rgb(205, 75, 162);
/* oklch */ color: oklch(61.6% 0.189 343.1);
Tailwind
colors: {
  custom: {
    50: '#e085bd',
    500: '#cd4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ba2;
$custom-light: #e085bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ba2",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 319.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.18876,
    "h": 343.1
  },
  "luminance": 0.2062
}

Semantic roles & 50–950 ramp

primary
#CD4BA2
secondary
#9FD5B1
accent
#E07A48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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