#D2397B#D2397B

#D2397B is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.196 H 358.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D2397B
RGBrgb(210, 57, 123)
HSLhsl(334, 63%, 52%)
HSVhsv(334, 73%, 82%)
CMYKcmyk(0%, 72.9%, 41.4%, 17.6%)
CIE-LABlab(49.57, 63.81, -1.68)
CIE-LCHlch(49.57, 63.84, 358.49°)
OKLaboklab(59.1% 0.1959 -0.0036)
OKLCHoklch(59.1% 0.196 358.9)
XYZxyz(31.6189, 18.0620, 20.5563)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2397B #39D290
analogous
#D239C7 #D2397B #D24439
triadic
#D2397B #7BD239 #397BD2
tetradic
#D2397B #C7D239 #39D290 #4439D2
square
#D2397B #C7D239 #39D290 #4439D2
split-complementary
#D2397B #39D244 #39C7D2
monochromatic
#761B42 #A8265E #D2397B #DD6B9C #E99DBD

Accessibility & contrast

On white

4.55
#D2397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#D2397B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2397B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2397B#FFFFFF#000000##000000
##D2397B1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#838077
Tritanopia (blue-blind)
#E32355
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d2397b;
/* rgb */ color: rgb(210, 57, 123);
/* oklch */ color: oklch(59.1% 0.196 358.9);
Tailwind
colors: {
  custom: {
    50: '#e57ca1',
    500: '#d2397b',
    950: '#000000',
  },
}
SCSS
$custom: #d2397b;
$custom-light: #e57ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2397b",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 334.118,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.19588,
    "h": 358.9
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#D2397B
secondary
#92D5B8
accent
#E69F42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D2397B

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

Preview Lab → · Contrast checker → · Palette generator →

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