#D42397#D42397

#D42397 is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.9% C 0.230 H 346.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D42397
RGBrgb(212, 35, 151)
HSLhsl(321, 72%, 48%)
HSVhsv(321, 83%, 83%)
CMYKcmyk(0%, 83.5%, 28.8%, 16.9%)
CIE-LABlab(48.81, 73.29, -19.67)
CIE-LCHlch(48.81, 75.88, 344.98°)
OKLaboklab(58.93% 0.2237 -0.0521)
OKLCHoklch(58.93% 0.23 346.9)
XYZxyz(33.3401, 17.4374, 30.8822)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42397 #23D460
analogous
#B823D4 #D42397 #D4233E
triadic
#D42397 #97D423 #2397D4
tetradic
#D42397 #D4B823 #23D460 #233ED4
square
#D42397 #D4B823 #23D460 #233ED4
split-complementary
#D42397 #3ED423 #23D4B8
monochromatic
#6B124C #9F1A72 #D42397 #E252B1 #EB86C8

Accessibility & contrast

On white

4.68
#D42397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D42397
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42397#FFFFFF#000000##FFFFFF
##D423971.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#777E93
Tritanopia (blue-blind)
#E3195D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d42397;
/* rgb */ color: rgb(212, 35, 151);
/* oklch */ color: oklch(58.9% 0.230 346.9);
Tailwind
colors: {
  custom: {
    50: '#e675b5',
    500: '#d42397',
    950: '#000000',
  },
}
SCSS
$custom: #d42397;
$custom-light: #e675b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d42397",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 320.678,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.2297,
    "h": 346.9
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D42397

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

Preview Lab → · Contrast checker → · Palette generator →

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