#DC018F#DC018F

#DC018F is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.9% C 0.245 H 350.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#DC018F
RGBrgb(220, 1, 143)
HSLhsl(321, 99%, 43%)
HSVhsv(321, 100%, 86%)
CMYKcmyk(0%, 99.5%, 35%, 13.7%)
CIE-LABlab(48.54, 78.42, -15.13)
CIE-LCHlch(48.54, 79.87, 349.08°)
OKLaboklab(58.9% 0.2416 -0.0394)
OKLCHoklch(58.9% 0.245 350.7)
XYZxyz(34.4863, 17.2251, 27.4900)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC018F #01DC4E
analogous
#BB01DC #DC018F #DC0121
triadic
#DC018F #8FDC01 #018FDC
tetradic
#DC018F #DCBB01 #01DC4E #0121DC
square
#DC018F #DCBB01 #01DC4E #0121DC
split-complementary
#DC018F #21DC01 #01DCBB
monochromatic
#620040 #9F0167 #DC018F #FE1CAF #FE59C4

Accessibility & contrast

On white

4.73
#DC018F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#DC018F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #DC018F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC018F#FFFFFF#000000##FFFFFF
##DC018F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#7C7F8B
Tritanopia (blue-blind)
#ED0053
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #dc018f;
/* rgb */ color: rgb(220, 1, 143);
/* oklch */ color: oklch(58.9% 0.245 350.7);
Tailwind
colors: {
  custom: {
    50: '#ed70af',
    500: '#dc018f',
    950: '#000000',
  },
}
SCSS
$custom: #dc018f;
$custom-light: #ed70af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc018f",
  "rgb": {
    "r": 220,
    "g": 1,
    "b": 143
  },
  "hsl": {
    "h": 321.096,
    "s": 99.095,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.24479,
    "h": 350.7
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#DC018F
secondary
#58E188
accent
#FF7429
background
#FFF7FA
surface
#FFEEF4
border
#D7C9CE
text
#170910
muted
#857B7F

Preview Lab

Preview with #DC018F

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

Preview Lab → · Contrast checker → · Palette generator →

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