#D2387B#D2387B

#D2387B is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.0% C 0.197 H 358.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D2387B
RGBrgb(210, 56, 123)
HSLhsl(334, 63%, 52%)
HSVhsv(334, 73%, 82%)
CMYKcmyk(0%, 73.3%, 41.4%, 17.6%)
CIE-LABlab(49.45, 64.15, -1.85)
CIE-LCHlch(49.45, 64.17, 358.34°)
OKLaboklab(59.01% 0.1969 -0.0041)
OKLCHoklch(59.01% 0.197 358.8)
XYZxyz(31.5700, 17.9641, 20.5400)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2387B #38D28F
analogous
#D238C8 #D2387B #D24238
triadic
#D2387B #7BD238 #387BD2
tetradic
#D2387B #C8D238 #38D28F #4238D2
square
#D2387B #C8D238 #38D28F #4238D2
split-complementary
#D2387B #38D242 #38C8D2
monochromatic
#751A42 #A7265E #D2387B #DD6A9C #E99CBD

Accessibility & contrast

On white

4.57
#D2387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#D2387B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2387B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2387B#FFFFFF#000000##000000
##D2387B1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2387b;
/* rgb */ color: rgb(210, 56, 123);
/* oklch */ color: oklch(59.0% 0.197 358.8);
Tailwind
colors: {
  custom: {
    50: '#e57ca1',
    500: '#d2387b',
    950: '#000000',
  },
}
SCSS
$custom: #d2387b;
$custom-light: #e57ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2387b",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 333.896,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.19696,
    "h": 358.8
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#D2387B
secondary
#91D5B7
accent
#E69F42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D2387B

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

Preview Lab → · Contrast checker → · Palette generator →

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