#CD4274#CD4274

#CD4274 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.179 H 2.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CD4274
RGBrgb(205, 66, 116)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 67.8%, 43.4%, 19.6%)
CIE-LABlab(49.67, 58.44, 2.59)
CIE-LCHlch(49.67, 58.50, 2.54°)
OKLaboklab(58.94% 0.1788 0.0074)
OKLCHoklch(58.94% 0.179 2.4)
XYZxyz(30.2797, 18.1403, 18.4265)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4274 #42CD9B
analogous
#CD42BA #CD4274 #CD5542
triadic
#CD4274 #74CD42 #4274CD
tetradic
#CD4274 #BACD42 #42CD9B #5542CD
square
#CD4274 #BACD42 #42CD9B #5542CD
split-complementary
#CD4274 #42CD55 #42BACD
monochromatic
#761F3E #A62C58 #CD4274 #DA7298 #E7A3BB

Accessibility & contrast

On white

4.54
#CD4274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CD4274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4274
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4274#FFFFFF#000000##000000
##CD42741.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#848071
Tritanopia (blue-blind)
#DE2F56
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4274;
/* rgb */ color: rgb(205, 66, 116);
/* oklch */ color: oklch(58.9% 0.179 2.4);
Tailwind
colors: {
  custom: {
    50: '#e17f9b',
    500: '#cd4274',
    950: '#000000',
  },
}
SCSS
$custom: #cd4274;
$custom-light: #e17f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4274",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 338.417,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.17895,
    "h": 2.4
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4274

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

Preview Lab → · Contrast checker → · Palette generator →

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