#D145BA#D145BA

#D145BA is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.216 H 335.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D145BA
RGBrgb(209, 69, 186)
HSLhsl(310, 60%, 55%)
HSVhsv(310, 67%, 82%)
CMYKcmyk(0%, 67%, 11%, 18%)
CIE-LABlab(53.34, 67.14, -33.30)
CIE-LCHlch(53.34, 74.94, 333.62°)
OKLaboklab(62.61% 0.1956 -0.0908)
OKLCHoklch(62.61% 0.216 335.1)
XYZxyz(37.2859, 21.3599, 48.6040)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145BA #45D15C
analogous
#A245D1 #D145BA #D14574
triadic
#D145BA #BAD145 #45BAD1
tetradic
#D145BA #D1A245 #45D15C #4574D1
square
#D145BA #D1A245 #45D15C #4574D1
split-complementary
#D145BA #74D145 #45D1A2
monochromatic
#7D1F6D #AE2B98 #D145BA #DD76CC #E9A7DE

Accessibility & contrast

On white

3.98
#D145BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D145BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145BA#FFFFFF#000000##000000
##D145BA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#DB4F7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d145ba;
/* rgb */ color: rgb(209, 69, 186);
/* oklch */ color: oklch(62.6% 0.216 335.1);
Tailwind
colors: {
  custom: {
    50: '#e383cf',
    500: '#d145ba',
    950: '#000000',
  },
}
SCSS
$custom: #d145ba;
$custom-light: #e383cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d145ba",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 309.857,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.21563,
    "h": 335.1
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#D145BA
secondary
#9BD7A5
accent
#E35E44
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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