#D2398C#D2398C

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

Color values

HEX#D2398C
RGBrgb(210, 57, 140)
HSLhsl(327, 63%, 52%)
HSVhsv(327, 73%, 82%)
CMYKcmyk(0%, 72.9%, 33.3%, 17.6%)
CIE-LABlab(50.13, 65.60, -11.10)
CIE-LCHlch(50.13, 66.53, 350.39°)
OKLaboklab(59.69% 0.2008 -0.0287)
OKLCHoklch(59.69% 0.203 351.9)
XYZxyz(32.7770, 18.5252, 26.6555)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2398C #39D27F
analogous
#CC39D2 #D2398C #D23940
triadic
#D2398C #8CD239 #398CD2
tetradic
#D2398C #D2CC39 #39D27F #3940D2
square
#D2398C #D2CC39 #39D27F #3940D2
split-complementary
#D2398C #40D239 #39D2CC
monochromatic
#761B4C #A8266C #D2398C #DD6BA9 #E99DC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2398C#FFFFFF#000000##000000
##D2398C1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#53668E
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#E22D5E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d2398c;
/* rgb */ color: rgb(210, 57, 140);
/* oklch */ color: oklch(59.7% 0.203 351.9);
Tailwind
colors: {
  custom: {
    50: '#e57cad',
    500: '#d2398c',
    950: '#000000',
  },
}
SCSS
$custom: #d2398c;
$custom-light: #e57cad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2398c",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 327.451,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.20286,
    "h": 351.9
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2398C

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

Preview Lab → · Contrast checker → · Palette generator →

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