#CD5096#CD5096

#CD5096 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.175 H 348.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5096
RGBrgb(205, 80, 150)
HSLhsl(326, 56%, 56%)
HSVhsv(326, 61%, 80%)
CMYKcmyk(0%, 61%, 26.8%, 19.6%)
CIE-LABlab(52.86, 56.54, -13.01)
CIE-LCHlch(52.86, 58.02, 347.04°)
OKLaboklab(61.66% 0.1712 -0.0341)
OKLCHoklch(61.66% 0.175 348.7)
XYZxyz(33.5519, 20.9218, 31.1196)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5096 #50CD87
analogous
#C550CD #CD5096 #CD5057
triadic
#CD5096 #96CD50 #5096CD
tetradic
#CD5096 #CDC550 #50CD87 #5057CD
square
#CD5096 #CDC550 #50CD87 #5057CD
split-complementary
#CD5096 #57CD50 #50CDC5
monochromatic
#7E2457 #AE3277 #CD5096 #DB80B3 #E8AFCF

Accessibility & contrast

On white

4.05
#CD5096 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CD5096 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5096
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5096#FFFFFF#000000##000000
##CD50961.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#828693
Tritanopia (blue-blind)
#DB4C6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5096;
/* rgb */ color: rgb(205, 80, 150);
/* oklch */ color: oklch(61.7% 0.175 348.7);
Tailwind
colors: {
  custom: {
    50: '#e088b5',
    500: '#cd5096',
    950: '#000000',
  },
}
SCSS
$custom: #cd5096;
$custom-light: #e088b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5096",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 326.4,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.17454,
    "h": 348.7
  },
  "luminance": 0.20918
}

Semantic roles & 50–950 ramp

primary
#CD5096
secondary
#A2D6B9
accent
#DF8B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5096

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

Preview Lab → · Contrast checker → · Palette generator →

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