#CD74B2#CD74B2

#CD74B2 is a light, vivid pink. Relative luminance 0.287; OKLCH L 67.7% C 0.135 H 339.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CD74B2
RGBrgb(205, 116, 178)
HSLhsl(318, 47%, 63%)
HSVhsv(318, 43%, 80%)
CMYKcmyk(0%, 43.4%, 13.2%, 19.6%)
CIE-LABlab(60.50, 43.24, -17.70)
CIE-LCHlch(60.50, 46.72, 337.74°)
OKLaboklab(67.68% 0.1265 -0.0473)
OKLCHoklch(67.68% 0.135 339.5)
XYZxyz(39.4584, 28.6868, 45.5696)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74B2 #74CD8F
analogous
#BB74CD #CD74B2 #CD7485
triadic
#CD74B2 #B2CD74 #74B2CD
tetradic
#CD74B2 #CDBB74 #74CD8F #7485CD
square
#CD74B2 #CDBB74 #74CD8F #7485CD
split-complementary
#CD74B2 #85CD74 #74CDBB
monochromatic
#923576 #BD4799 #CD74B2 #DDA1CB #EDCEE4

Accessibility & contrast

On white

3.12
#CD74B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CD74B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74B2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74B2#FFFFFF#000000##000000
##CD74B21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#8F97B0
Tritanopia (blue-blind)
#D6768B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd74b2;
/* rgb */ color: rgb(205, 116, 178);
/* oklch */ color: oklch(67.7% 0.135 339.5);
Tailwind
colors: {
  custom: {
    50: '#de9ec9',
    500: '#cd74b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd74b2;
$custom-light: #de9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74b2",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 318.202,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67683,
    "c": 0.13506,
    "h": 339.5
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#CD74B2
secondary
#BEDEC8
accent
#BA572B
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CD74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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