#D2398D#D2398D

#D2398D is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.7% C 0.203 H 351.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D2398D
RGBrgb(210, 57, 141)
HSLhsl(327, 63%, 52%)
HSVhsv(327, 73%, 82%)
CMYKcmyk(0%, 72.9%, 32.9%, 17.6%)
CIE-LABlab(50.16, 65.71, -11.65)
CIE-LCHlch(50.16, 66.73, 349.95°)
OKLaboklab(59.72% 0.2011 -0.0302)
OKLCHoklch(59.72% 0.203 351.5)
XYZxyz(32.8511, 18.5548, 27.0456)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2398D #39D27E
analogous
#CB39D2 #D2398D #D23940
triadic
#D2398D #8DD239 #398DD2
tetradic
#D2398D #D2CB39 #39D27E #3940D2
square
#D2398D #D2CB39 #39D27E #3940D2
split-complementary
#D2398D #40D239 #39D2CB
monochromatic
#761B4D #A8266D #D2398D #DD6BAA #E99DC6

Accessibility & contrast

On white

4.46
#D2398D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D2398D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2398D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2398D#FFFFFF#000000##000000
##D2398D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#7F818A
Tritanopia (blue-blind)
#E22E5E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d2398d;
/* rgb */ color: rgb(210, 57, 141);
/* oklch */ color: oklch(59.7% 0.203 351.5);
Tailwind
colors: {
  custom: {
    50: '#e57dae',
    500: '#d2398d',
    950: '#000000',
  },
}
SCSS
$custom: #d2398d;
$custom-light: #e57dae;
$custom-dark: #000000;
JSON
{
  "hex": "#d2398d",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 327.059,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.20333,
    "h": 351.5
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#D2398D
secondary
#92D5B0
accent
#E68C42
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D2398D

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

Preview Lab → · Contrast checker → · Palette generator →

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