#D239A7#D239A7

#D239A7 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.218 H 341.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D239A7
RGBrgb(210, 57, 167)
HSLhsl(317, 63%, 52%)
HSVhsv(317, 73%, 82%)
CMYKcmyk(0%, 72.9%, 20.5%, 17.6%)
CIE-LABlab(51.18, 68.89, -25.55)
CIE-LCHlch(51.18, 73.47, 339.65°)
OKLaboklab(60.79% 0.2065 -0.0687)
OKLCHoklch(60.79% 0.218 341.6)
XYZxyz(35.0176, 19.4215, 38.4563)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239A7 #39D264
analogous
#B139D2 #D239A7 #D2395A
triadic
#D239A7 #A7D239 #39A7D2
tetradic
#D239A7 #D2B139 #39D264 #395AD2
square
#D239A7 #D2B139 #39D264 #395AD2
split-complementary
#D239A7 #5AD239 #39D2B1
monochromatic
#761B5C #A82683 #D239A7 #DD6BBD #E99DD3

Accessibility & contrast

On white

4.30
#D239A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D239A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239A7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239A7#FFFFFF#000000##000000
##D239A71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#DF3C6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239a7;
/* rgb */ color: rgb(210, 57, 167);
/* oklch */ color: oklch(60.8% 0.218 341.6);
Tailwind
colors: {
  custom: {
    50: '#e47dc1',
    500: '#d239a7',
    950: '#000000',
  },
}
SCSS
$custom: #d239a7;
$custom-light: #e47dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#d239a7",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 316.863,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.21764,
    "h": 341.6
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#D239A7
secondary
#92D5A5
accent
#E67042
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D239A7

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

Preview Lab → · Contrast checker → · Palette generator →

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