#DB4276#DB4276

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

Color values

HEX#DB4276
RGBrgb(219, 66, 118)
HSLhsl(340, 68%, 56%)
HSVhsv(340, 70%, 86%)
CMYKcmyk(0%, 69.9%, 46.1%, 14.1%)
CIE-LABlab(52.14, 62.73, 5.26)
CIE-LCHlch(52.14, 62.95, 4.79°)
OKLaboklab(61.24% 0.1918 0.0142)
OKLCHoklch(61.24% 0.192 4.2)
XYZxyz(34.4344, 20.2690, 19.2350)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4276 #42DBA7
analogous
#DB42C2 #DB4276 #DB5A42
triadic
#DB4276 #76DB42 #4276DB
tetradic
#DB4276 #C2DB42 #42DBA7 #5A42DB
square
#DB4276 #C2DB42 #42DBA7 #5A42DB
split-complementary
#DB4276 #42DB5A #42C2DB
monochromatic
#891A40 #BC2458 #DB4276 #E5759B #EFA9C1

Accessibility & contrast

On white

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

On black

5.05
#DB4276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4276
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4276#FFFFFF#000000##000000
##DB42761.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646977
Deuteranopia (green-blind)
#8D8772
Tritanopia (blue-blind)
#EE2957
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4276;
/* rgb */ color: rgb(219, 66, 118);
/* oklch */ color: oklch(61.2% 0.192 4.2);
Tailwind
colors: {
  custom: {
    50: '#ec819d',
    500: '#db4276',
    950: '#000000',
  },
}
SCSS
$custom: #db4276;
$custom-light: #ec819d;
$custom-dark: #000000;
JSON
{
  "hex": "#db4276",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 339.608,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.1923,
    "h": 4.2
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB4276

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

Preview Lab → · Contrast checker → · Palette generator →

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