#D239BA#D239BA

#D239BA is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.230 H 335.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D239BA
RGBrgb(210, 57, 186)
HSLhsl(309, 63%, 52%)
HSVhsv(309, 73%, 82%)
CMYKcmyk(0%, 72.9%, 11.4%, 17.6%)
CIE-LABlab(52.04, 71.51, -35.33)
CIE-LCHlch(52.04, 79.76, 333.71°)
OKLaboklab(61.69% 0.2088 -0.0965)
OKLCHoklch(61.69% 0.23 335.2)
XYZxyz(36.9049, 20.1763, 48.3956)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239BA #39D251
analogous
#9E39D2 #D239BA #D2396D
triadic
#D239BA #BAD239 #39BAD2
tetradic
#D239BA #D29E39 #39D251 #396DD2
square
#D239BA #D29E39 #39D251 #396DD2
split-complementary
#D239BA #6DD239 #39D29E
monochromatic
#761B68 #A82693 #D239BA #DD6BCB #E99DDD

Accessibility & contrast

On white

4.17
#D239BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D239BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239BA#FFFFFF#000000##000000
##D239BA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#DC4576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d239ba;
/* rgb */ color: rgb(210, 57, 186);
/* oklch */ color: oklch(61.7% 0.230 335.2);
Tailwind
colors: {
  custom: {
    50: '#e47ecf',
    500: '#d239ba',
    950: '#000000',
  },
}
SCSS
$custom: #d239ba;
$custom-light: #e47ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#d239ba",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 309.412,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.23003,
    "h": 335.2
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#D239BA
secondary
#92D59D
accent
#E65C42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D239BA

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

Preview Lab → · Contrast checker → · Palette generator →

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