#D42398#D42398

#D42398 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.230 H 346.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D42398
RGBrgb(212, 35, 152)
HSLhsl(320, 72%, 48%)
HSVhsv(320, 83%, 83%)
CMYKcmyk(0%, 83.5%, 28.3%, 16.9%)
CIE-LABlab(48.85, 73.40, -20.21)
CIE-LCHlch(48.85, 76.13, 344.61°)
OKLaboklab(58.97% 0.2239 -0.0535)
OKLCHoklch(58.97% 0.23 346.5)
XYZxyz(33.4216, 17.4700, 31.3117)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42398 #23D45F
analogous
#B723D4 #D42398 #D4233F
triadic
#D42398 #98D423 #2398D4
tetradic
#D42398 #D4B723 #23D45F #233FD4
square
#D42398 #D4B723 #23D45F #233FD4
split-complementary
#D42398 #3FD423 #23D4B7
monochromatic
#6B124D #9F1A72 #D42398 #E252B1 #EB86C9

Accessibility & contrast

On white

4.67
#D42398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D42398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42398
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42398#FFFFFF#000000##FFFFFF
##D423981.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#777F94
Tritanopia (blue-blind)
#E31A5D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d42398;
/* rgb */ color: rgb(212, 35, 152);
/* oklch */ color: oklch(59.0% 0.230 346.5);
Tailwind
colors: {
  custom: {
    50: '#e675b6',
    500: '#d42398',
    950: '#000000',
  },
}
SCSS
$custom: #d42398;
$custom-light: #e675b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d42398",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 320.339,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.23021,
    "h": 346.5
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#D42398
secondary
#7ED49C
accent
#EE7739
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42398

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

Preview Lab → · Contrast checker → · Palette generator →

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