#D239AB#D239AB

#D239AB is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.0% C 0.220 H 340.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D239AB
RGBrgb(210, 57, 171)
HSLhsl(315, 63%, 52%)
HSVhsv(315, 73%, 82%)
CMYKcmyk(0%, 72.9%, 18.6%, 17.6%)
CIE-LABlab(51.35, 69.42, -27.64)
CIE-LCHlch(51.35, 74.72, 338.29°)
OKLaboklab(60.98% 0.2071 -0.0746)
OKLCHoklch(60.98% 0.22 340.2)
XYZxyz(35.3931, 19.5717, 40.4339)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239AB #39D260
analogous
#AC39D2 #D239AB #D2395F
triadic
#D239AB #ABD239 #39ABD2
tetradic
#D239AB #D2AC39 #39D260 #395FD2
square
#D239AB #D2AC39 #39D260 #395FD2
split-complementary
#D239AB #5FD239 #39D2AC
monochromatic
#761B5F #A82687 #D239AB #DD6BC0 #E99DD5

Accessibility & contrast

On white

4.27
#D239AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D239AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239AB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239AB#FFFFFF#000000##000000
##D239AB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#DE3E6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239ab;
/* rgb */ color: rgb(210, 57, 171);
/* oklch */ color: oklch(61.0% 0.220 340.2);
Tailwind
colors: {
  custom: {
    50: '#e47dc4',
    500: '#d239ab',
    950: '#000000',
  },
}
SCSS
$custom: #d239ab;
$custom-light: #e47dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d239ab",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 315.294,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.22013,
    "h": 340.2
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#D239AB
secondary
#92D5A3
accent
#E66C42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D239AB

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

Preview Lab → · Contrast checker → · Palette generator →

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