#CD4BA1#CD4BA1

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

Color values

HEX#CD4BA1
RGBrgb(205, 75, 161)
HSLhsl(320, 57%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 63.4%, 21.5%, 19.6%)
CIE-LABlab(52.50, 60.14, -20.06)
CIE-LCHlch(52.50, 63.40, 341.56°)
OKLaboklab(61.52% 0.1804 -0.0535)
OKLCHoklch(61.52% 0.188 343.5)
XYZxyz(34.1270, 20.5877, 35.8878)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BA1 #4BCD77
analogous
#B84BCD #CD4BA1 #CD4B60
triadic
#CD4BA1 #A1CD4B #4BA1CD
tetradic
#CD4BA1 #CDB84B #4BCD77 #4B60CD
square
#CD4BA1 #CDB84B #4BCD77 #4B60CD
split-complementary
#CD4BA1 #60CD4B #4BCDB8
monochromatic
#7B225D #AB3081 #CD4BA1 #DA7BBA #E8ABD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4BA1#FFFFFF#000000##000000
##CD4BA11.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)
#5670A4
Deuteranopia (green-blind)
#7D859E
Tritanopia (blue-blind)
#D94B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4ba1;
/* rgb */ color: rgb(205, 75, 161);
/* oklch */ color: oklch(61.5% 0.188 343.5);
Tailwind
colors: {
  custom: {
    50: '#e085bd',
    500: '#cd4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ba1;
$custom-light: #e085bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ba1",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 320.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61519,
    "c": 0.18812,
    "h": 343.5
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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