#D242B5#D242B5

#D242B5 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.2% C 0.216 H 337.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D242B5
RGBrgb(210, 66, 181)
HSLhsl(312, 62%, 54%)
HSVhsv(312, 69%, 82%)
CMYKcmyk(0%, 68.6%, 13.8%, 17.6%)
CIE-LABlab(52.88, 67.75, -31.10)
CIE-LCHlch(52.88, 74.54, 335.34°)
OKLaboklab(62.23% 0.1992 -0.0845)
OKLCHoklch(62.23% 0.216 337)
XYZxyz(36.8677, 20.9375, 45.8068)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242B5 #42D25F
analogous
#A742D2 #D242B5 #D2426D
triadic
#D242B5 #B5D242 #42B5D2
tetradic
#D242B5 #D2A742 #42D25F #426DD2
square
#D242B5 #D2A742 #42D25F #426DD2
split-complementary
#D242B5 #6DD242 #42D2A7
monochromatic
#7C1E69 #AD2993 #D242B5 #DE73C8 #EAA5DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D242B5#FFFFFF#000000##000000
##D242B51.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)
#4670B8
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#DD4A76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d242b5;
/* rgb */ color: rgb(210, 66, 181);
/* oklch */ color: oklch(62.2% 0.216 337.0);
Tailwind
colors: {
  custom: {
    50: '#e482cb',
    500: '#d242b5',
    950: '#000000',
  },
}
SCSS
$custom: #d242b5;
$custom-light: #e482cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d242b5",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 312.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6223,
    "c": 0.21641,
    "h": 337
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#D242B5
secondary
#99D7A6
accent
#E56443
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242B5

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

Preview Lab → · Contrast checker → · Palette generator →

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