#CD4BA6#CD4BA6

#CD4BA6 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.191 H 341.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD4BA6
RGBrgb(205, 75, 166)
HSLhsl(318, 57%, 55%)
HSVhsv(318, 63%, 80%)
CMYKcmyk(0%, 63.4%, 19%, 19.6%)
CIE-LABlab(52.69, 60.84, -22.69)
CIE-LCHlch(52.69, 64.93, 339.55°)
OKLaboklab(61.73% 0.1814 -0.0608)
OKLCHoklch(61.73% 0.191 341.5)
XYZxyz(34.5767, 20.7676, 38.2565)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BA6 #4BCD72
analogous
#B34BCD #CD4BA6 #CD4B65
triadic
#CD4BA6 #A6CD4B #4BA6CD
tetradic
#CD4BA6 #CDB34B #4BCD72 #4B65CD
square
#CD4BA6 #CDB34B #4BCD72 #4B65CD
split-complementary
#CD4BA6 #65CD4B #4BCDB3
monochromatic
#7B2261 #AB3086 #CD4BA6 #DA7BBE #E8ABD5

Accessibility & contrast

On white

4.08
#CD4BA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD4BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BA6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BA6#FFFFFF#000000##000000
##CD4BA61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4ba6;
/* rgb */ color: rgb(205, 75, 166);
/* oklch */ color: oklch(61.7% 0.191 341.5);
Tailwind
colors: {
  custom: {
    50: '#e085c0',
    500: '#cd4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ba6;
$custom-light: #e085c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ba6",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 318,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61731,
    "c": 0.19133,
    "h": 341.5
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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