#CD4F7C#CD4F7C

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

Color values

HEX#CD4F7C
RGBrgb(205, 79, 124)
HSLhsl(339, 56%, 56%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.5%, 39.5%, 19.6%)
CIE-LABlab(51.87, 53.88, 0.98)
CIE-LCHlch(51.87, 53.89, 1.04°)
OKLaboklab(60.65% 0.1645 0.0032)
OKLCHoklch(60.65% 0.165 1.1)
XYZxyz(31.6129, 20.0299, 21.2662)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F7C #4FCDA0
analogous
#CD4FBB #CD4F7C #CD614F
triadic
#CD4F7C #7CCD4F #4F7CCD
tetradic
#CD4F7C #BBCD4F #4FCDA0 #614FCD
square
#CD4F7C #BBCD4F #4FCDA0 #614FCD
split-complementary
#CD4F7C #4FCD61 #4FBBCD
monochromatic
#7E2444 #AE315E #CD4F7C #DB7F9F #E8AEC3

Accessibility & contrast

On white

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

On black

5.01
#CD4F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F7C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F7C#FFFFFF#000000##000000
##CD4F7C1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#DD4260
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4f7c;
/* rgb */ color: rgb(205, 79, 124);
/* oklch */ color: oklch(60.6% 0.165 1.1);
Tailwind
colors: {
  custom: {
    50: '#e187a1',
    500: '#cd4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f7c;
$custom-light: #e187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f7c",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 338.571,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.16455,
    "h": 1.1
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#CD4F7C
secondary
#A2D6C3
accent
#DFA949
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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