#DC4271#DC4271

#DC4271 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.192 H 6.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#DC4271
RGBrgb(220, 66, 113)
HSLhsl(342, 69%, 56%)
HSVhsv(342, 70%, 86%)
CMYKcmyk(0%, 70%, 48.6%, 13.7%)
CIE-LABlab(52.18, 62.59, 8.35)
CIE-LCHlch(52.18, 63.14, 7.60°)
OKLaboklab(61.26% 0.1909 0.0218)
OKLCHoklch(61.26% 0.192 6.5)
XYZxyz(34.4469, 20.3089, 17.7257)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4271 #42DCAD
analogous
#DC42BE #DC4271 #DC6042
triadic
#DC4271 #71DC42 #4271DC
tetradic
#DC4271 #BEDC42 #42DCAD #6042DC
square
#DC4271 #BEDC42 #42DCAD #6042DC
split-complementary
#DC4271 #42DC60 #42BEDC
monochromatic
#8A1A3C #BE2352 #DC4271 #E67698 #EFA9BF

Accessibility & contrast

On white

4.15
#DC4271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#DC4271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4271
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4271#FFFFFF#000000##000000
##DC42711.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666972
Deuteranopia (green-blind)
#8E886D
Tritanopia (blue-blind)
#EF2655
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc4271;
/* rgb */ color: rgb(220, 66, 113);
/* oklch */ color: oklch(61.3% 0.192 6.5);
Tailwind
colors: {
  custom: {
    50: '#ed8199',
    500: '#dc4271',
    950: '#000000',
  },
}
SCSS
$custom: #dc4271;
$custom-light: #ed8199;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4271",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 341.688,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.19211,
    "h": 6.5
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#DC4271
secondary
#9DDDC9
accent
#ECB63C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #DC4271

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

Preview Lab → · Contrast checker → · Palette generator →

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