#DB4274#DB4274

#DB4274 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.192 H 5.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#DB4274
RGBrgb(219, 66, 116)
HSLhsl(340, 68%, 56%)
HSVhsv(340, 70%, 86%)
CMYKcmyk(0%, 69.9%, 47%, 14.1%)
CIE-LABlab(52.09, 62.56, 6.39)
CIE-LCHlch(52.09, 62.88, 5.83°)
OKLaboklab(61.18% 0.1911 0.017)
OKLCHoklch(61.18% 0.192 5.1)
XYZxyz(34.3168, 20.2219, 18.6157)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4274 #42DBA9
analogous
#DB42C0 #DB4274 #DB5C42
triadic
#DB4274 #74DB42 #4274DB
tetradic
#DB4274 #C0DB42 #42DBA9 #5C42DB
square
#DB4274 #C0DB42 #42DBA9 #5C42DB
split-complementary
#DB4274 #42DB5C #42C0DB
monochromatic
#891A3E #BC2456 #DB4274 #E5759A #EFA9C0

Accessibility & contrast

On white

4.16
#DB4274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#DB4274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4274
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4274#FFFFFF#000000##000000
##DB42741.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656975
Deuteranopia (green-blind)
#8D8770
Tritanopia (blue-blind)
#EE2856
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4274;
/* rgb */ color: rgb(219, 66, 116);
/* oklch */ color: oklch(61.2% 0.192 5.1);
Tailwind
colors: {
  custom: {
    50: '#ec819b',
    500: '#db4274',
    950: '#000000',
  },
}
SCSS
$custom: #db4274;
$custom-light: #ec819b;
$custom-dark: #000000;
JSON
{
  "hex": "#db4274",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 340.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.19183,
    "h": 5.1
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#DB4274
secondary
#9DDCC7
accent
#EBB23D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DB4274

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

Preview Lab → · Contrast checker → · Palette generator →

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