#CD74B5#CD74B5

#CD74B5 is a light, vivid pink. Relative luminance 0.288; OKLCH L 67.8% C 0.137 H 337.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CD74B5
RGBrgb(205, 116, 181)
HSLhsl(316, 47%, 63%)
HSVhsv(316, 43%, 80%)
CMYKcmyk(0%, 43.4%, 11.7%, 19.6%)
CIE-LABlab(60.61, 43.73, -19.25)
CIE-LCHlch(60.61, 47.77, 336.24°)
OKLaboklab(67.8% 0.1273 -0.0516)
OKLCHoklch(67.8% 0.137 337.9)
XYZxyz(39.7629, 28.8086, 47.1734)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74B5 #74CD8C
analogous
#B974CD #CD74B5 #CD7488
triadic
#CD74B5 #B5CD74 #74B5CD
tetradic
#CD74B5 #CDB974 #74CD8C #7488CD
square
#CD74B5 #CDB974 #74CD8C #7488CD
split-complementary
#CD74B5 #88CD74 #74CDB9
monochromatic
#923579 #BD479D #CD74B5 #DDA1CD #EDCEE5

Accessibility & contrast

On white

3.11
#CD74B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CD74B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74B5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74B5#FFFFFF#000000##000000
##CD74B51.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB7
Deuteranopia (green-blind)
#8E97B2
Tritanopia (blue-blind)
#D6778C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd74b5;
/* rgb */ color: rgb(205, 116, 181);
/* oklch */ color: oklch(67.8% 0.137 337.9);
Tailwind
colors: {
  custom: {
    50: '#de9ecb',
    500: '#cd74b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd74b5;
$custom-light: #de9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74b5",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 316.18,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67799,
    "c": 0.13738,
    "h": 337.9
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#CD74B5
secondary
#BEDEC7
accent
#BA522B
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150F13
muted
#837E82

Preview Lab

Preview with #CD74B5

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

Preview Lab → · Contrast checker → · Palette generator →

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