#CD2FB1#CD2FB1

#CD2FB1 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.7% C 0.231 H 336.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD2FB1
RGBrgb(205, 47, 177)
HSLhsl(311, 63%, 49%)
HSVhsv(311, 77%, 80%)
CMYKcmyk(0%, 77.1%, 13.7%, 19.6%)
CIE-LABlab(49.73, 72.09, -33.76)
CIE-LCHlch(49.73, 79.60, 334.91°)
OKLaboklab(59.73% 0.2121 -0.092)
OKLCHoklch(59.73% 0.231 336.5)
XYZxyz(34.1298, 18.1897, 43.2999)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2FB1 #2FCD4B
analogous
#9A2FCD #CD2FB1 #CD2F62
triadic
#CD2FB1 #B1CD2F #2FB1CD
tetradic
#CD2FB1 #CD9A2F #2FCD4B #2F62CD
square
#CD2FB1 #CD9A2F #2FCD4B #2F62CD
split-complementary
#CD2FB1 #62CD2F #2FCD9A
monochromatic
#69185B #9B2486 #CD2FB1 #DA5FC4 #E691D7

Accessibility & contrast

On white

4.53
#CD2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CD2FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2FB1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2FB1#FFFFFF#000000##000000
##CD2FB11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#6B7FAD
Tritanopia (blue-blind)
#D83B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2fb1;
/* rgb */ color: rgb(205, 47, 177);
/* oklch */ color: oklch(59.7% 0.231 336.5);
Tailwind
colors: {
  custom: {
    50: '#e179c8',
    500: '#cd2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd2fb1;
$custom-light: #e179c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2fb1",
  "rgb": {
    "r": 205,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 310.633,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.23123,
    "h": 336.5
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#CD2FB1
secondary
#87D094
accent
#E65F42
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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