#D240B6#D240B6

#D240B6 is a light, highly saturated pink. Relative luminance 0.207; OKLCH L 62.1% C 0.219 H 336.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D240B6
RGBrgb(210, 64, 182)
HSLhsl(312, 62%, 54%)
HSVhsv(312, 70%, 82%)
CMYKcmyk(0%, 69.5%, 13.3%, 17.6%)
CIE-LABlab(52.67, 68.60, -32.00)
CIE-LCHlch(52.67, 75.70, 334.99°)
OKLaboklab(62.1% 0.2015 -0.087)
OKLCHoklch(62.1% 0.219 336.6)
XYZxyz(36.8558, 20.7491, 46.3108)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240B6 #40D25C
analogous
#A540D2 #D240B6 #D2406D
triadic
#D240B6 #B6D240 #40B6D2
tetradic
#D240B6 #D2A540 #40D25C #406DD2
square
#D240B6 #D2A540 #40D25C #406DD2
split-complementary
#D240B6 #6DD240 #40D2A5
monochromatic
#7B1D69 #AC2993 #D240B6 #DE72C9 #E9A3DC

Accessibility & contrast

On white

4.08
#D240B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D240B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240B6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240B6#FFFFFF#000000##000000
##D240B61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370B9
Deuteranopia (green-blind)
#7486B2
Tritanopia (blue-blind)
#DD4976
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d240b6;
/* rgb */ color: rgb(210, 64, 182);
/* oklch */ color: oklch(62.1% 0.219 336.6);
Tailwind
colors: {
  custom: {
    50: '#e481cc',
    500: '#d240b6',
    950: '#000000',
  },
}
SCSS
$custom: #d240b6;
$custom-light: #e481cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d240b6",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 311.507,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.21947,
    "h": 336.6
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#D240B6
secondary
#98D6A4
accent
#E56243
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D240B6

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

Preview Lab → · Contrast checker → · Palette generator →

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