#CD4BA8#CD4BA8

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

Color values

HEX#CD4BA8
RGBrgb(205, 75, 168)
HSLhsl(317, 57%, 55%)
HSVhsv(317, 63%, 80%)
CMYKcmyk(0%, 63.4%, 18%, 19.6%)
CIE-LABlab(52.78, 61.12, -23.74)
CIE-LCHlch(52.78, 65.57, 338.78°)
OKLaboklab(61.82% 0.1818 -0.0638)
OKLCHoklch(61.82% 0.193 340.7)
XYZxyz(34.7616, 20.8416, 39.2303)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BA8 #4BCD70
analogous
#B14BCD #CD4BA8 #CD4B67
triadic
#CD4BA8 #A8CD4B #4BA8CD
tetradic
#CD4BA8 #CDB14B #4BCD70 #4B67CD
square
#CD4BA8 #CDB14B #4BCD70 #4B67CD
split-complementary
#CD4BA8 #67CD4B #4BCDB1
monochromatic
#7B2262 #AB3088 #CD4BA8 #DA7BBF #E8ABD6

Accessibility & contrast

On white

4.06
#CD4BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CD4BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BA8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BA8#FFFFFF#000000##000000
##CD4BA81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AB
Deuteranopia (green-blind)
#7A86A5
Tritanopia (blue-blind)
#D94E73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4ba8;
/* rgb */ color: rgb(205, 75, 168);
/* oklch */ color: oklch(61.8% 0.193 340.7);
Tailwind
colors: {
  custom: {
    50: '#e085c2',
    500: '#cd4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ba8;
$custom-light: #e085c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ba8",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 317.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.19266,
    "h": 340.7
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#CD4BA8
secondary
#9FD5AE
accent
#E07348
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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