#CD5FB2#CD5FB2

#CD5FB2 is a light, vivid pink. Relative luminance 0.244; OKLCH L 64.7% C 0.170 H 337.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CD5FB2
RGBrgb(205, 95, 178)
HSLhsl(315, 52%, 59%)
HSVhsv(315, 54%, 80%)
CMYKcmyk(0%, 53.7%, 13.2%, 19.6%)
CIE-LABlab(56.47, 53.73, -23.87)
CIE-LCHlch(56.47, 58.79, 336.05°)
OKLaboklab(64.67% 0.1573 -0.0643)
OKLCHoklch(64.67% 0.17 337.8)
XYZxyz(37.3053, 24.3807, 44.8520)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB2 #5FCD7A
analogous
#B15FCD #CD5FB2 #CD5F7B
triadic
#CD5FB2 #B2CD5F #5FB2CD
tetradic
#CD5FB2 #CDB15F #5FCD7A #5F7BCD
square
#CD5FB2 #CDB15F #5FCD7A #5F7BCD
split-complementary
#CD5FB2 #7BCD5F #5FCDB1
monochromatic
#872A70 #B63997 #CD5FB2 #DC8EC8 #EABCDF

Accessibility & contrast

On white

3.57
#CD5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CD5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB2#FFFFFF#000000##000000
##CD5FB21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#818EAF
Tritanopia (blue-blind)
#D76380
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5fb2;
/* rgb */ color: rgb(205, 95, 178);
/* oklch */ color: oklch(64.7% 0.170 337.8);
Tailwind
colors: {
  custom: {
    50: '#df91c9',
    500: '#cd5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb2;
$custom-light: #df91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb2",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 314.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.16997,
    "h": 337.8
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#CD5FB2
secondary
#AEDAB9
accent
#DC6F4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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