#CD4BA7#CD4BA7

#CD4BA7 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.192 H 341.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD4BA7
RGBrgb(205, 75, 167)
HSLhsl(318, 57%, 55%)
HSVhsv(318, 63%, 80%)
CMYKcmyk(0%, 63.4%, 18.5%, 19.6%)
CIE-LABlab(52.73, 60.98, -23.21)
CIE-LCHlch(52.73, 65.25, 339.16°)
OKLaboklab(61.77% 0.1816 -0.0623)
OKLCHoklch(61.77% 0.192 341.1)
XYZxyz(34.6688, 20.8045, 38.7415)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BA7 #4BCD71
analogous
#B24BCD #CD4BA7 #CD4B66
triadic
#CD4BA7 #A7CD4B #4BA7CD
tetradic
#CD4BA7 #CDB24B #4BCD71 #4B66CD
square
#CD4BA7 #CDB24B #4BCD71 #4B66CD
split-complementary
#CD4BA7 #66CD4B #4BCDB2
monochromatic
#7B2261 #AB3087 #CD4BA7 #DA7BBE #E8ABD6

Accessibility & contrast

On white

4.07
#CD4BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD4BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BA7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BA7#FFFFFF#000000##000000
##CD4BA71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#D94D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4ba7;
/* rgb */ color: rgb(205, 75, 167);
/* oklch */ color: oklch(61.8% 0.192 341.1);
Tailwind
colors: {
  custom: {
    50: '#e085c1',
    500: '#cd4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ba7;
$custom-light: #e085c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ba7",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 317.538,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.192,
    "h": 341.1
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#CD4BA7
secondary
#9FD5AF
accent
#E07448
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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