#DB427B#DB427B

#DB427B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.194 H 2.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#DB427B
RGBrgb(219, 66, 123)
HSLhsl(338, 68%, 56%)
HSVhsv(338, 70%, 86%)
CMYKcmyk(0%, 69.9%, 43.8%, 14.1%)
CIE-LABlab(52.28, 63.20, 2.46)
CIE-LCHlch(52.28, 63.24, 2.23°)
OKLaboklab(61.38% 0.1935 0.007)
OKLCHoklch(61.38% 0.194 2.1)
XYZxyz(34.7394, 20.3910, 20.8415)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB427B #42DBA2
analogous
#DB42C7 #DB427B #DB5542
triadic
#DB427B #7BDB42 #427BDB
tetradic
#DB427B #C7DB42 #42DBA2 #5542DB
square
#DB427B #C7DB42 #42DBA2 #5542DB
split-complementary
#DB427B #42DB55 #42C7DB
monochromatic
#891A43 #BC245D #DB427B #E5759F #EFA9C3

Accessibility & contrast

On white

4.14
#DB427B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#DB427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB427B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB427B#FFFFFF#000000##000000
##DB427B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#8C8877
Tritanopia (blue-blind)
#ED2B5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db427b;
/* rgb */ color: rgb(219, 66, 123);
/* oklch */ color: oklch(61.4% 0.194 2.1);
Tailwind
colors: {
  custom: {
    50: '#ec81a1',
    500: '#db427b',
    950: '#000000',
  },
}
SCSS
$custom: #db427b;
$custom-light: #ec81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#db427b",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 337.647,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.19364,
    "h": 2.1
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#DB427B
secondary
#9DDCC4
accent
#EBAA3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DB427B

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

Preview Lab → · Contrast checker → · Palette generator →

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