#D124B7#D124B7

#D124B7 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 60.0% C 0.246 H 335.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D124B7
RGBrgb(209, 36, 183)
HSLhsl(309, 71%, 48%)
HSVhsv(309, 83%, 82%)
CMYKcmyk(0%, 82.8%, 12.4%, 18%)
CIE-LABlab(49.79, 76.43, -37.13)
CIE-LCHlch(49.79, 84.97, 334.09°)
OKLaboklab(60% 0.2242 -0.1016)
OKLCHoklch(60% 0.246 335.6)
XYZxyz(35.4732, 18.2393, 46.4429)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D124B7 #24D13E
analogous
#9424D1 #D124B7 #D12461
triadic
#D124B7 #B7D124 #24B7D1
tetradic
#D124B7 #D19424 #24D13E #2461D1
square
#D124B7 #D19424 #24D13E #2461D1
split-complementary
#D124B7 #61D124 #24D194
monochromatic
#69125C #9D1B89 #D124B7 #E151CB #EA85DB

Accessibility & contrast

On white

4.52
#D124B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D124B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D124B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D124B7#FFFFFF#000000##000000
##D124B71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2566BB
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#DC366F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d124b7;
/* rgb */ color: rgb(209, 36, 183);
/* oklch */ color: oklch(60.0% 0.246 335.6);
Tailwind
colors: {
  custom: {
    50: '#e476cd',
    500: '#d124b7',
    950: '#000000',
  },
}
SCSS
$custom: #d124b7;
$custom-light: #e476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d124b7",
  "rgb": {
    "r": 209,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 309.017,
    "s": 70.612,
    "l": 48.039
  },
  "oklch": {
    "l": 0.6,
    "c": 0.24611,
    "h": 335.6
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#D124B7
secondary
#7ED38A
accent
#ED553A
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D124B7

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

Preview Lab → · Contrast checker → · Palette generator →

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