#CD4F7B#CD4F7B

#CD4F7B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.164 H 1.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4F7B
RGBrgb(205, 79, 123)
HSLhsl(339, 56%, 56%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.5%, 40%, 19.6%)
CIE-LABlab(51.84, 53.77, 1.54)
CIE-LCHlch(51.84, 53.79, 1.64°)
OKLaboklab(60.62% 0.1642 0.0046)
OKLCHoklch(60.62% 0.164 1.6)
XYZxyz(31.5500, 20.0047, 20.9349)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F7B #4FCDA1
analogous
#CD4FBA #CD4F7B #CD624F
triadic
#CD4F7B #7BCD4F #4F7BCD
tetradic
#CD4F7B #BACD4F #4FCDA1 #624FCD
square
#CD4F7B #BACD4F #4FCDA1 #624FCD
split-complementary
#CD4F7B #4FCD62 #4FBACD
monochromatic
#7E2443 #AE315D #CD4F7B #DB7F9F #E8AEC2

Accessibility & contrast

On white

4.20
#CD4F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD4F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F7B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F7B#FFFFFF#000000##000000
##CD4F7B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#888578
Tritanopia (blue-blind)
#DD4260
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f7b;
/* rgb */ color: rgb(205, 79, 123);
/* oklch */ color: oklch(60.6% 0.164 1.6);
Tailwind
colors: {
  custom: {
    50: '#e187a1',
    500: '#cd4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f7b;
$custom-light: #e187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f7b",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 339.048,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.16424,
    "h": 1.6
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#CD4F7B
secondary
#A2D6C4
accent
#DFAB49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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