#D242B8#D242B8

#D242B8 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.218 H 336.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D242B8
RGBrgb(210, 66, 184)
HSLhsl(311, 62%, 54%)
HSVhsv(311, 69%, 82%)
CMYKcmyk(0%, 68.6%, 12.4%, 17.6%)
CIE-LABlab(53.02, 68.18, -32.63)
CIE-LCHlch(53.02, 75.59, 334.42°)
OKLaboklab(62.37% 0.1996 -0.0888)
OKLCHoklch(62.37% 0.218 336)
XYZxyz(37.1788, 21.0620, 47.4454)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242B8 #42D25C
analogous
#A442D2 #D242B8 #D24270
triadic
#D242B8 #B8D242 #42B8D2
tetradic
#D242B8 #D2A442 #42D25C #4270D2
square
#D242B8 #D2A442 #42D25C #4270D2
split-complementary
#D242B8 #70D242 #42D2A4
monochromatic
#7C1E6B #AD2996 #D242B8 #DE73CB #EAA5DD

Accessibility & contrast

On white

4.03
#D242B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D242B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242B8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242B8#FFFFFF#000000##000000
##D242B81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#DC4B78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d242b8;
/* rgb */ color: rgb(210, 66, 184);
/* oklch */ color: oklch(62.4% 0.218 336.0);
Tailwind
colors: {
  custom: {
    50: '#e482cd',
    500: '#d242b8',
    950: '#000000',
  },
}
SCSS
$custom: #d242b8;
$custom-light: #e482cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d242b8",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 310.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.21848,
    "h": 336
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

primary
#D242B8
secondary
#99D7A4
accent
#E56043
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242B8

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

Preview Lab → · Contrast checker → · Palette generator →

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