#DF4271#DF4271

#DF4271 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.195 H 7.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#DF4271
RGBrgb(223, 66, 113)
HSLhsl(342, 71%, 57%)
HSVhsv(342, 70%, 87%)
CMYKcmyk(0%, 70.4%, 49.3%, 12.5%)
CIE-LABlab(52.71, 63.46, 9.17)
CIE-LCHlch(52.71, 64.12, 8.22°)
OKLaboklab(61.75% 0.1934 0.0239)
OKLCHoklch(61.75% 0.195 7)
XYZxyz(35.3633, 20.7814, 17.7686)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4271 #42DFB0
analogous
#DF42C0 #DF4271 #DF6242
triadic
#DF4271 #71DF42 #4271DF
tetradic
#DF4271 #C0DF42 #42DFB0 #6242DF
square
#DF4271 #C0DF42 #42DFB0 #6242DF
split-complementary
#DF4271 #42DF62 #42C0DF
monochromatic
#8E183C #C32151 #DF4271 #E87698 #F1ABC0

Accessibility & contrast

On white

4.07
#DF4271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#DF4271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4271
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4271#FFFFFF#000000##000000
##DF42711.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676A72
Deuteranopia (green-blind)
#90896D
Tritanopia (blue-blind)
#F32455
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df4271;
/* rgb */ color: rgb(223, 66, 113);
/* oklch */ color: oklch(61.7% 0.195 7.0);
Tailwind
colors: {
  custom: {
    50: '#ef8199',
    500: '#df4271',
    950: '#000000',
  },
}
SCSS
$custom: #df4271;
$custom-light: #ef8199;
$custom-dark: #000000;
JSON
{
  "hex": "#df4271",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 342.038,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.19487,
    "h": 7
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#DF4271
secondary
#9EDFCB
accent
#EEB83A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0D
muted
#867C7E

Preview Lab

Preview with #DF4271

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

Preview Lab → · Contrast checker → · Palette generator →

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