#D242B7#D242B7

#D242B7 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.3% C 0.218 H 336.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D242B7
RGBrgb(210, 66, 183)
HSLhsl(311, 62%, 54%)
HSVhsv(311, 69%, 82%)
CMYKcmyk(0%, 68.6%, 12.9%, 17.6%)
CIE-LABlab(52.97, 68.04, -32.12)
CIE-LCHlch(52.97, 75.24, 334.73°)
OKLaboklab(62.33% 0.1995 -0.0874)
OKLCHoklch(62.33% 0.218 336.3)
XYZxyz(37.0743, 21.0202, 46.8953)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242B7 #42D25D
analogous
#A542D2 #D242B7 #D2426F
triadic
#D242B7 #B7D242 #42B7D2
tetradic
#D242B7 #D2A542 #42D25D #426FD2
square
#D242B7 #D2A542 #42D25D #426FD2
split-complementary
#D242B7 #6FD242 #42D2A5
monochromatic
#7C1E6A #AD2995 #D242B7 #DE73CA #EAA5DD

Accessibility & contrast

On white

4.04
#D242B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D242B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242B7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242B7#FFFFFF#000000##000000
##D242B71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BA
Deuteranopia (green-blind)
#7486B3
Tritanopia (blue-blind)
#DD4B77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d242b7;
/* rgb */ color: rgb(210, 66, 183);
/* oklch */ color: oklch(62.3% 0.218 336.3);
Tailwind
colors: {
  custom: {
    50: '#e482cd',
    500: '#d242b7',
    950: '#000000',
  },
}
SCSS
$custom: #d242b7;
$custom-light: #e482cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d242b7",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 311.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.21779,
    "h": 336.3
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

primary
#D242B7
secondary
#99D7A5
accent
#E56143
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242B7

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

Preview Lab → · Contrast checker → · Palette generator →

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