#D239A5#D239A5

#D239A5 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.7% C 0.216 H 342.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D239A5
RGBrgb(210, 57, 165)
HSLhsl(318, 63%, 52%)
HSVhsv(318, 73%, 82%)
CMYKcmyk(0%, 72.9%, 21.4%, 17.6%)
CIE-LABlab(51.09, 68.63, -24.50)
CIE-LCHlch(51.09, 72.87, 340.35°)
OKLaboklab(60.7% 0.2062 -0.0657)
OKLCHoklch(60.7% 0.216 342.3)
XYZxyz(34.8342, 19.3481, 37.4901)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239A5 #39D266
analogous
#B239D2 #D239A5 #D23959
triadic
#D239A5 #A5D239 #39A5D2
tetradic
#D239A5 #D2B239 #39D266 #3959D2
square
#D239A5 #D2B239 #39D266 #3959D2
split-complementary
#D239A5 #59D239 #39D2B2
monochromatic
#761B5B #A82682 #D239A5 #DD6BBC #E99DD2

Accessibility & contrast

On white

4.31
#D239A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D239A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239A5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239A5#FFFFFF#000000##000000
##D239A51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#DF3B6B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239a5;
/* rgb */ color: rgb(210, 57, 165);
/* oklch */ color: oklch(60.7% 0.216 342.3);
Tailwind
colors: {
  custom: {
    50: '#e47dc0',
    500: '#d239a5',
    950: '#000000',
  },
}
SCSS
$custom: #d239a5;
$custom-light: #e47dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#d239a5",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 317.647,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.21641,
    "h": 342.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#D239A5
secondary
#92D5A6
accent
#E67242
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D239A5

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

Preview Lab → · Contrast checker → · Palette generator →

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