#D240B0#D240B0

#D240B0 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.8% C 0.215 H 338.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D240B0
RGBrgb(210, 64, 176)
HSLhsl(314, 62%, 54%)
HSVhsv(314, 70%, 82%)
CMYKcmyk(0%, 69.5%, 16.2%, 17.6%)
CIE-LABlab(52.41, 67.75, -28.93)
CIE-LCHlch(52.41, 73.66, 336.88°)
OKLaboklab(61.81% 0.2007 -0.0783)
OKLCHoklch(61.81% 0.215 338.7)
XYZxyz(36.2490, 20.5064, 43.1149)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240B0 #40D262
analogous
#AB40D2 #D240B0 #D24067
triadic
#D240B0 #B0D240 #40B0D2
tetradic
#D240B0 #D2AB40 #40D262 #4067D2
square
#D240B0 #D2AB40 #40D262 #4067D2
split-complementary
#D240B0 #67D240 #40D2AB
monochromatic
#7B1D65 #AC298E #D240B0 #DE72C4 #E9A3D9

Accessibility & contrast

On white

4.12
#D240B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D240B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240B0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240B0#FFFFFF#000000##000000
##D240B01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#7685AD
Tritanopia (blue-blind)
#DE4673
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d240b0;
/* rgb */ color: rgb(210, 64, 176);
/* oklch */ color: oklch(61.8% 0.215 338.7);
Tailwind
colors: {
  custom: {
    50: '#e481c8',
    500: '#d240b0',
    950: '#000000',
  },
}
SCSS
$custom: #d240b0;
$custom-light: #e481c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d240b0",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 313.973,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.21543,
    "h": 338.7
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#D240B0
secondary
#98D6A6
accent
#E56943
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D240B0

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

Preview Lab → · Contrast checker → · Palette generator →

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