#CD2FAF#CD2FAF

#CD2FAF is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.6% C 0.230 H 337.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD2FAF
RGBrgb(205, 47, 175)
HSLhsl(311, 63%, 49%)
HSVhsv(311, 77%, 80%)
CMYKcmyk(0%, 77.1%, 14.6%, 19.6%)
CIE-LABlab(49.63, 71.81, -32.73)
CIE-LCHlch(49.63, 78.92, 335.50°)
OKLaboklab(59.63% 0.212 -0.0891)
OKLCHoklch(59.63% 0.23 337.2)
XYZxyz(33.9319, 18.1106, 42.2578)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2FAF #2FCD4D
analogous
#9C2FCD #CD2FAF #CD2F60
triadic
#CD2FAF #AFCD2F #2FAFCD
tetradic
#CD2FAF #CD9C2F #2FCD4D #2F60CD
square
#CD2FAF #CD9C2F #2FCD4D #2F60CD
split-complementary
#CD2FAF #60CD2F #2FCD9C
monochromatic
#69185A #9B2485 #CD2FAF #DA5FC3 #E691D6

Accessibility & contrast

On white

4.54
#CD2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD2FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2FAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2FAF#FFFFFF#000000##000000
##CD2FAF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#6C7FAB
Tritanopia (blue-blind)
#D83A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2faf;
/* rgb */ color: rgb(205, 47, 175);
/* oklch */ color: oklch(59.6% 0.230 337.2);
Tailwind
colors: {
  custom: {
    50: '#e179c7',
    500: '#cd2faf',
    950: '#000000',
  },
}
SCSS
$custom: #cd2faf;
$custom-light: #e179c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2faf",
  "rgb": {
    "r": 205,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 311.392,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.22993,
    "h": 337.2
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#CD2FAF
secondary
#87D095
accent
#E66142
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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