#CD2E94#CD2E94

#CD2E94 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.215 H 346.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD2E94
RGBrgb(205, 46, 148)
HSLhsl(322, 63%, 49%)
HSVhsv(322, 78%, 80%)
CMYKcmyk(0%, 77.6%, 27.8%, 19.6%)
CIE-LABlab(48.35, 68.63, -18.68)
CIE-LCHlch(48.35, 71.12, 344.78°)
OKLaboklab(58.33% 0.2089 -0.0494)
OKLCHoklch(58.33% 0.215 346.7)
XYZxyz(31.5007, 17.0748, 29.6481)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E94 #2ECD67
analogous
#B72ECD #CD2E94 #CD2E45
triadic
#CD2E94 #94CD2E #2E94CD
tetradic
#CD2E94 #CDB72E #2ECD67 #2E45CD
square
#CD2E94 #CDB72E #2ECD67 #2E45CD
split-complementary
#CD2E94 #45CD2E #2ECDB7
monochromatic
#69184C #9B2370 #CD2E94 #DB5DAE #E68FC7

Accessibility & contrast

On white

4.76
#CD2E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CD2E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2E94
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E94#FFFFFF#000000##FFFFFF
##CD2E941.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466197
Deuteranopia (green-blind)
#767D90
Tritanopia (blue-blind)
#DB285E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2e94;
/* rgb */ color: rgb(205, 46, 148);
/* oklch */ color: oklch(58.3% 0.215 346.7);
Tailwind
colors: {
  custom: {
    50: '#e178b3',
    500: '#cd2e94',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e94;
$custom-light: #e178b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e94",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 321.509,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58328,
    "c": 0.2147,
    "h": 346.7
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#CD2E94
secondary
#86D0A1
accent
#E67D41
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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