#CD2E8F#CD2E8F

#CD2E8F is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.212 H 348.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD2E8F
RGBrgb(205, 46, 143)
HSLhsl(323, 63%, 49%)
HSVhsv(323, 78%, 80%)
CMYKcmyk(0%, 77.6%, 30.2%, 19.6%)
CIE-LABlab(48.16, 68.05, -15.97)
CIE-LCHlch(48.16, 69.89, 346.79°)
OKLaboklab(58.12% 0.2079 -0.0419)
OKLCHoklch(58.12% 0.212 348.6)
XYZxyz(31.1134, 16.9199, 27.6087)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E8F #2ECD6C
analogous
#BC2ECD #CD2E8F #CD2E40
triadic
#CD2E8F #8FCD2E #2E8FCD
tetradic
#CD2E8F #CDBC2E #2ECD6C #2E40CD
square
#CD2E8F #CDBC2E #2ECD6C #2E40CD
split-complementary
#CD2E8F #40CD2E #2ECDBC
monochromatic
#691849 #9B236C #CD2E8F #DB5DAA #E68FC4

Accessibility & contrast

On white

4.79
#CD2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CD2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2E8F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E8F#FFFFFF#000000##FFFFFF
##CD2E8F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486191
Deuteranopia (green-blind)
#777C8B
Tritanopia (blue-blind)
#DC255B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd2e8f;
/* rgb */ color: rgb(205, 46, 143);
/* oklch */ color: oklch(58.1% 0.212 348.6);
Tailwind
colors: {
  custom: {
    50: '#e177af',
    500: '#cd2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e8f;
$custom-light: #e177af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e8f",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 323.396,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.21206,
    "h": 348.6
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#CD2E8F
secondary
#86D0A3
accent
#E68241
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CD2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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