#CD4FA1#CD4FA1

#CD4FA1 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.182 H 343.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD4FA1
RGBrgb(205, 79, 161)
HSLhsl(321, 56%, 56%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 61.5%, 21.5%, 19.6%)
CIE-LABlab(53.11, 58.46, -19.12)
CIE-LCHlch(53.11, 61.50, 341.89°)
OKLaboklab(61.97% 0.1752 -0.0509)
OKLCHoklch(61.97% 0.182 343.8)
XYZxyz(34.4069, 21.1475, 35.9811)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FA1 #4FCD7B
analogous
#BA4FCD #CD4FA1 #CD4F62
triadic
#CD4FA1 #A1CD4F #4FA1CD
tetradic
#CD4FA1 #CDBA4F #4FCD7B #4F62CD
square
#CD4FA1 #CDBA4F #4FCD7B #4F62CD
split-complementary
#CD4FA1 #62CD4F #4FCDBA
monochromatic
#7E245E #AE3182 #CD4FA1 #DB7FBA #E8AED4

Accessibility & contrast

On white

4.02
#CD4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CD4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FA1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FA1#FFFFFF#000000##000000
##CD4FA11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#7E879E
Tritanopia (blue-blind)
#D94F71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4fa1;
/* rgb */ color: rgb(205, 79, 161);
/* oklch */ color: oklch(62.0% 0.182 343.8);
Tailwind
colors: {
  custom: {
    50: '#e087bd',
    500: '#cd4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fa1;
$custom-light: #e087bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fa1",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 320.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.18248,
    "h": 343.8
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#CD4FA1
secondary
#A2D6B4
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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