#CD4172#CD4172

#CD4172 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.180 H 3.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD4172
RGBrgb(205, 65, 114)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68.3%, 44.4%, 19.6%)
CIE-LABlab(49.47, 58.64, 3.52)
CIE-LCHlch(49.47, 58.74, 3.43°)
OKLaboklab(58.77% 0.1793 0.0097)
OKLCHoklch(58.77% 0.18 3.1)
XYZxyz(30.1067, 17.9784, 17.8011)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4172 #41CD9C
analogous
#CD41B8 #CD4172 #CD5641
triadic
#CD4172 #72CD41 #4172CD
tetradic
#CD4172 #B8CD41 #41CD9C #5641CD
square
#CD4172 #B8CD41 #41CD9C #5641CD
split-complementary
#CD4172 #41CD56 #41B8CD
monochromatic
#751F3D #A52C56 #CD4172 #DA7196 #E6A2BA

Accessibility & contrast

On white

4.57
#CD4172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CD4172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4172
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4172#FFFFFF#000000##000000
##CD41721.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#84806F
Tritanopia (blue-blind)
#DE2D55
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4172;
/* rgb */ color: rgb(205, 65, 114);
/* oklch */ color: oklch(58.8% 0.180 3.1);
Tailwind
colors: {
  custom: {
    50: '#e27f9a',
    500: '#cd4172',
    950: '#000000',
  },
}
SCSS
$custom: #cd4172;
$custom-light: #e27f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4172",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 339,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.17959,
    "h": 3.1
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#CD4172
secondary
#97D3BE
accent
#E2AB46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4172

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

Preview Lab → · Contrast checker → · Palette generator →

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