#D2398E#D2398E

#D2398E is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.8% C 0.204 H 351.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D2398E
RGBrgb(210, 57, 142)
HSLhsl(327, 63%, 52%)
HSVhsv(327, 73%, 82%)
CMYKcmyk(0%, 72.9%, 32.4%, 17.6%)
CIE-LABlab(50.20, 65.82, -12.19)
CIE-LCHlch(50.20, 66.94, 349.50°)
OKLaboklab(59.76% 0.2013 -0.0316)
OKLCHoklch(59.76% 0.204 351.1)
XYZxyz(32.9258, 18.5847, 27.4392)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2398E #39D27D
analogous
#CA39D2 #D2398E #D23941
triadic
#D2398E #8ED239 #398ED2
tetradic
#D2398E #D2CA39 #39D27D #3941D2
square
#D2398E #D2CA39 #39D27D #3941D2
split-complementary
#D2398E #41D239 #39D2CA
monochromatic
#761B4D #A8266E #D2398E #DD6BAA #E99DC7

Accessibility & contrast

On white

4.45
#D2398E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D2398E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2398E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2398E#FFFFFF#000000##000000
##D2398E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#E22E5F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d2398e;
/* rgb */ color: rgb(210, 57, 142);
/* oklch */ color: oklch(59.8% 0.204 351.1);
Tailwind
colors: {
  custom: {
    50: '#e57daf',
    500: '#d2398e',
    950: '#000000',
  },
}
SCSS
$custom: #d2398e;
$custom-light: #e57daf;
$custom-dark: #000000;
JSON
{
  "hex": "#d2398e",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 326.667,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.2038,
    "h": 351.1
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2398E

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

Preview Lab → · Contrast checker → · Palette generator →

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