#DB4271#DB4271

#DB4271 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.191 H 6.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#DB4271
RGBrgb(219, 66, 113)
HSLhsl(342, 68%, 56%)
HSVhsv(342, 70%, 86%)
CMYKcmyk(0%, 69.9%, 48.4%, 14.1%)
CIE-LABlab(52.01, 62.29, 8.08)
CIE-LCHlch(52.01, 62.82, 7.39°)
OKLaboklab(61.1% 0.19 0.0212)
OKLCHoklch(61.1% 0.191 6.4)
XYZxyz(34.1451, 20.1532, 17.7115)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4271 #42DBAC
analogous
#DB42BD #DB4271 #DB5F42
triadic
#DB4271 #71DB42 #4271DB
tetradic
#DB4271 #BDDB42 #42DBAC #5F42DB
square
#DB4271 #BDDB42 #42DBAC #5F42DB
split-complementary
#DB4271 #42DB5F #42BDDB
monochromatic
#891A3C #BC2453 #DB4271 #E57598 #EFA9BE

Accessibility & contrast

On white

4.18
#DB4271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#DB4271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4271
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4271#FFFFFF#000000##000000
##DB42711.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#656972
Deuteranopia (green-blind)
#8E876D
Tritanopia (blue-blind)
#EE2655
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4271;
/* rgb */ color: rgb(219, 66, 113);
/* oklch */ color: oklch(61.1% 0.191 6.4);
Tailwind
colors: {
  custom: {
    50: '#ec8199',
    500: '#db4271',
    950: '#000000',
  },
}
SCSS
$custom: #db4271;
$custom-light: #ec8199;
$custom-dark: #000000;
JSON
{
  "hex": "#db4271",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 341.569,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.19118,
    "h": 6.4
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#DB4271
secondary
#9DDCC9
accent
#EBB53D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #DB4271

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

Preview Lab → · Contrast checker → · Palette generator →

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