#CD4F8B#CD4F8B

#CD4F8B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.170 H 353.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD4F8B
RGBrgb(205, 79, 139)
HSLhsl(331, 56%, 56%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61.5%, 32.2%, 19.6%)
CIE-LABlab(52.33, 55.60, -7.29)
CIE-LCHlch(52.33, 56.07, 352.53°)
OKLaboklab(61.14% 0.1694 -0.0186)
OKLCHoklch(61.14% 0.17 353.7)
XYZxyz(32.6347, 20.4386, 26.6475)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F8B #4FCD91
analogous
#CD4FCA #CD4F8B #CD524F
triadic
#CD4F8B #8BCD4F #4F8BCD
tetradic
#CD4F8B #CACD4F #4FCD91 #524FCD
square
#CD4F8B #CACD4F #4FCD91 #524FCD
split-complementary
#CD4F8B #4FCD52 #4FCACD
monochromatic
#7E244F #AE316C #CD4F8B #DB7FAA #E8AECA

Accessibility & contrast

On white

4.13
#CD4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD4F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F8B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F8B#FFFFFF#000000##000000
##CD4F8B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#858588
Tritanopia (blue-blind)
#DC4767
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4f8b;
/* rgb */ color: rgb(205, 79, 139);
/* oklch */ color: oklch(61.1% 0.170 353.7);
Tailwind
colors: {
  custom: {
    50: '#e087ac',
    500: '#cd4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f8b;
$custom-light: #e087ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f8b",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 331.429,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.17041,
    "h": 353.7
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#CD4F8B
secondary
#A2D6BD
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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