#CD4270#CD4270

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

Color values

HEX#CD4270
RGBrgb(205, 66, 112)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 67.8%, 45.4%, 19.6%)
CIE-LABlab(49.56, 58.06, 4.85)
CIE-LCHlch(49.56, 58.26, 4.78°)
OKLaboklab(58.82% 0.1774 0.0131)
OKLCHoklch(58.82% 0.178 4.2)
XYZxyz(30.0520, 18.0492, 17.2274)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4270 #42CD9F
analogous
#CD42B5 #CD4270 #CD5942
triadic
#CD4270 #70CD42 #4270CD
tetradic
#CD4270 #B5CD42 #42CD9F #5942CD
square
#CD4270 #B5CD42 #42CD9F #5942CD
split-complementary
#CD4270 #42CD59 #42B5CD
monochromatic
#761F3C #A62C54 #CD4270 #DA7295 #E7A3B9

Accessibility & contrast

On white

4.56
#CD4270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CD4270 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4270
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4270#FFFFFF#000000##000000
##CD42701.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606571
Deuteranopia (green-blind)
#85806D
Tritanopia (blue-blind)
#DE2D55
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4270;
/* rgb */ color: rgb(205, 66, 112);
/* oklch */ color: oklch(58.8% 0.178 4.2);
Tailwind
colors: {
  custom: {
    50: '#e27f98',
    500: '#cd4270',
    950: '#000000',
  },
}
SCSS
$custom: #cd4270;
$custom-light: #e27f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4270",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 340.144,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.17787,
    "h": 4.2
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#CD4270
secondary
#97D3C0
accent
#E1AE46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD4270

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

Preview Lab → · Contrast checker → · Palette generator →

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