#CD5281#CD5281

#CD5281 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.162 H 359.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD5281
RGBrgb(205, 82, 129)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60%, 37.1%, 19.6%)
CIE-LABlab(52.51, 53.10, -1.07)
CIE-LCHlch(52.51, 53.11, 358.85°)
OKLaboklab(61.17% 0.1621 -0.0021)
OKLCHoklch(61.17% 0.162 359.2)
XYZxyz(32.1584, 20.6022, 23.0477)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5281 #52CD9E
analogous
#CD52BF #CD5281 #CD6152
triadic
#CD5281 #81CD52 #5281CD
tetradic
#CD5281 #BFCD52 #52CD9E #6152CD
square
#CD5281 #BFCD52 #52CD9E #6152CD
split-complementary
#CD5281 #52CD61 #52BFCD
monochromatic
#802548 #AF3362 #CD5281 #DB81A4 #E8B1C6

Accessibility & contrast

On white

4.10
#CD5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5281
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5281#FFFFFF#000000##000000
##CD52811.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676F82
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#DD4764
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5281;
/* rgb */ color: rgb(205, 82, 129);
/* oklch */ color: oklch(61.2% 0.162 359.2);
Tailwind
colors: {
  custom: {
    50: '#e088a5',
    500: '#cd5281',
    950: '#000000',
  },
}
SCSS
$custom: #cd5281;
$custom-light: #e088a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5281",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 337.073,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.16206,
    "h": 359.2
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#CD5281
secondary
#A4D7C3
accent
#DEA549
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5281

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

Preview Lab → · Contrast checker → · Palette generator →

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