#D4397D#D4397D

#D4397D is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.198 H 358.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D4397D
RGBrgb(212, 57, 125)
HSLhsl(334, 64%, 53%)
HSVhsv(334, 73%, 83%)
CMYKcmyk(0%, 73.1%, 41%, 16.9%)
CIE-LABlab(49.99, 64.56, -2.24)
CIE-LCHlch(49.99, 64.60, 358.01°)
OKLaboklab(59.49% 0.1982 -0.0051)
OKLCHoklch(59.49% 0.198 358.5)
XYZxyz(32.3185, 18.4081, 21.2493)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4397D #39D490
analogous
#D439CB #D4397D #D44239
triadic
#D4397D #7DD439 #397DD4
tetradic
#D4397D #CBD439 #39D490 #4239D4
square
#D4397D #CBD439 #39D490 #4239D4
split-complementary
#D4397D #39D442 #39CBD4
monochromatic
#781A44 #AB2560 #D4397D #DF6B9E #EA9EBF

Accessibility & contrast

On white

4.49
#D4397D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#D4397D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4397D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4397D#FFFFFF#000000##000000
##D4397D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#E52356
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d4397d;
/* rgb */ color: rgb(212, 57, 125);
/* oklch */ color: oklch(59.5% 0.198 358.5);
Tailwind
colors: {
  custom: {
    50: '#e77ca2',
    500: '#d4397d',
    950: '#000000',
  },
}
SCSS
$custom: #d4397d;
$custom-light: #e77ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4397d",
  "rgb": {
    "r": 212,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 333.677,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.19824,
    "h": 358.5
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#D4397D
secondary
#93D6B9
accent
#E79E40
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D4397D

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

Preview Lab → · Contrast checker → · Palette generator →

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