#D242B9#D242B9

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

Color values

HEX#D242B9
RGBrgb(210, 66, 185)
HSLhsl(310, 62%, 54%)
HSVhsv(310, 69%, 82%)
CMYKcmyk(0%, 68.6%, 11.9%, 17.6%)
CIE-LABlab(53.06, 68.33, -33.14)
CIE-LCHlch(53.06, 75.94, 334.13°)
OKLaboklab(62.42% 0.1997 -0.0903)
OKLCHoklch(62.42% 0.219 335.7)
XYZxyz(37.2840, 21.1041, 47.9994)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242B9 #42D25B
analogous
#A342D2 #D242B9 #D24271
triadic
#D242B9 #B9D242 #42B9D2
tetradic
#D242B9 #D2A342 #42D25B #4271D2
square
#D242B9 #D2A342 #42D25B #4271D2
split-complementary
#D242B9 #71D242 #42D2A3
monochromatic
#7C1E6C #AD2997 #D242B9 #DE73CB #EAA5DE

Accessibility & contrast

On white

4.02
#D242B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D242B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242B9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242B9#FFFFFF#000000##000000
##D242B91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#7386B5
Tritanopia (blue-blind)
#DC4C78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d242b9;
/* rgb */ color: rgb(210, 66, 185);
/* oklch */ color: oklch(62.4% 0.219 335.7);
Tailwind
colors: {
  custom: {
    50: '#e482ce',
    500: '#d242b9',
    950: '#000000',
  },
}
SCSS
$custom: #d242b9;
$custom-light: #e482ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d242b9",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 310.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.21918,
    "h": 335.7
  },
  "luminance": 0.21101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D242B9

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

Preview Lab → · Contrast checker → · Palette generator →

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