#D240BB#D240BB

#D240BB is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.223 H 335.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D240BB
RGBrgb(210, 64, 187)
HSLhsl(309, 62%, 54%)
HSVhsv(309, 70%, 82%)
CMYKcmyk(0%, 69.5%, 11%, 17.6%)
CIE-LABlab(52.91, 69.33, -34.55)
CIE-LCHlch(52.91, 77.46, 333.51°)
OKLaboklab(62.34% 0.202 -0.0943)
OKLCHoklch(62.34% 0.223 335)
XYZxyz(37.3818, 20.9595, 49.0809)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240BB #40D257
analogous
#A040D2 #D240BB #D24072
triadic
#D240BB #BBD240 #40BBD2
tetradic
#D240BB #D2A040 #40D257 #4072D2
square
#D240BB #D2A040 #40D257 #4072D2
split-complementary
#D240BB #72D240 #40D2A0
monochromatic
#7B1D6C #AC2997 #D240BB #DE72CD #E9A3DE

Accessibility & contrast

On white

4.05
#D240BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D240BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240BB#FFFFFF#000000##000000
##D240BB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#7286B7
Tritanopia (blue-blind)
#DC4B79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d240bb;
/* rgb */ color: rgb(210, 64, 187);
/* oklch */ color: oklch(62.3% 0.223 335.0);
Tailwind
colors: {
  custom: {
    50: '#e481d0',
    500: '#d240bb',
    950: '#000000',
  },
}
SCSS
$custom: #d240bb;
$custom-light: #e481d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d240bb",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 309.452,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62337,
    "c": 0.22294,
    "h": 335
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#D240BB
secondary
#98D6A2
accent
#E55C43
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D240BB

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

Preview Lab → · Contrast checker → · Palette generator →

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