#DB4270#DB4270

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

Color values

HEX#DB4270
RGBrgb(219, 66, 112)
HSLhsl(342, 68%, 56%)
HSVhsv(342, 70%, 86%)
CMYKcmyk(0%, 69.9%, 48.9%, 14.1%)
CIE-LABlab(51.98, 62.21, 8.65)
CIE-LCHlch(51.98, 62.81, 7.91°)
OKLaboklab(61.07% 0.1896 0.0226)
OKLCHoklch(61.07% 0.191 6.8)
XYZxyz(34.0891, 20.1308, 17.4166)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4270 #42DBAD
analogous
#DB42BC #DB4270 #DB6042
triadic
#DB4270 #70DB42 #4270DB
tetradic
#DB4270 #BCDB42 #42DBAD #6042DB
square
#DB4270 #BCDB42 #42DBAD #6042DB
split-complementary
#DB4270 #42DB60 #42BCDB
monochromatic
#891A3B #BC2452 #DB4270 #E57597 #EFA9BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB4270#FFFFFF#000000##000000
##DB42701.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)
#666971
Deuteranopia (green-blind)
#8E876C
Tritanopia (blue-blind)
#EE2655
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4270;
/* rgb */ color: rgb(219, 66, 112);
/* oklch */ color: oklch(61.1% 0.191 6.8);
Tailwind
colors: {
  custom: {
    50: '#ec8198',
    500: '#db4270',
    950: '#000000',
  },
}
SCSS
$custom: #db4270;
$custom-light: #ec8198;
$custom-dark: #000000;
JSON
{
  "hex": "#db4270",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 341.961,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61071,
    "c": 0.19098,
    "h": 6.8
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB4270

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

Preview Lab → · Contrast checker → · Palette generator →

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