#D2398B#D2398B

#D2398B is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.6% C 0.202 H 352.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D2398B
RGBrgb(210, 57, 139)
HSLhsl(328, 63%, 52%)
HSVhsv(328, 73%, 82%)
CMYKcmyk(0%, 72.9%, 33.8%, 17.6%)
CIE-LABlab(50.09, 65.49, -10.55)
CIE-LCHlch(50.09, 66.33, 350.84°)
OKLaboklab(59.65% 0.2006 -0.0272)
OKLCHoklch(59.65% 0.202 352.3)
XYZxyz(32.7036, 18.4958, 26.2689)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2398B #39D280
analogous
#CC39D2 #D2398B #D2393F
triadic
#D2398B #8BD239 #398BD2
tetradic
#D2398B #D2CC39 #39D280 #393FD2
square
#D2398B #D2CC39 #39D280 #393FD2
split-complementary
#D2398B #3FD239 #39D2CC
monochromatic
#761B4C #A8266C #D2398B #DD6BA8 #E99DC5

Accessibility & contrast

On white

4.47
#D2398B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D2398B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2398B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2398B#FFFFFF#000000##000000
##D2398B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#54668D
Deuteranopia (green-blind)
#7F8188
Tritanopia (blue-blind)
#E22C5D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d2398b;
/* rgb */ color: rgb(210, 57, 139);
/* oklch */ color: oklch(59.6% 0.202 352.3);
Tailwind
colors: {
  custom: {
    50: '#e57cac',
    500: '#d2398b',
    950: '#000000',
  },
}
SCSS
$custom: #d2398b;
$custom-light: #e57cac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2398b",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 327.843,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.20238,
    "h": 352.3
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#D2398B
secondary
#92D5B1
accent
#E68E42
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D2398B

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

Preview Lab → · Contrast checker → · Palette generator →

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