#D2397F#D2397F

#D2397F is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.197 H 357.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#D2397F
RGBrgb(210, 57, 127)
HSLhsl(333, 63%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 72.9%, 39.5%, 17.6%)
CIE-LABlab(49.69, 64.21, -3.92)
CIE-LCHlch(49.69, 64.33, 356.51°)
OKLaboklab(59.23% 0.1971 -0.0095)
OKLCHoklch(59.23% 0.197 357.2)
XYZxyz(31.8744, 18.1642, 21.9021)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2397F #39D28C
analogous
#D239CC #D2397F #D24039
triadic
#D2397F #7FD239 #397FD2
tetradic
#D2397F #CCD239 #39D28C #4039D2
square
#D2397F #CCD239 #39D28C #4039D2
split-complementary
#D2397F #39D240 #39CCD2
monochromatic
#761B44 #A82661 #D2397F #DD6B9F #E99DBF

Accessibility & contrast

On white

4.53
#D2397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#D2397F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2397F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2397F#FFFFFF#000000##000000
##D2397F1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#82817B
Tritanopia (blue-blind)
#E32557
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d2397f;
/* rgb */ color: rgb(210, 57, 127);
/* oklch */ color: oklch(59.2% 0.197 357.2);
Tailwind
colors: {
  custom: {
    50: '#e57ca4',
    500: '#d2397f',
    950: '#000000',
  },
}
SCSS
$custom: #d2397f;
$custom-light: #e57ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2397f",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 332.549,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.19734,
    "h": 357.2
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#D2397F
secondary
#92D5B6
accent
#E69B42
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D2397F

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

Preview Lab → · Contrast checker → · Palette generator →

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