#D242B2#D242B2

#D242B2 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.1% C 0.214 H 338.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D242B2
RGBrgb(210, 66, 178)
HSLhsl(313, 62%, 54%)
HSVhsv(313, 69%, 82%)
CMYKcmyk(0%, 68.6%, 15.2%, 17.6%)
CIE-LABlab(52.75, 67.32, -29.56)
CIE-LCHlch(52.75, 73.52, 336.29°)
OKLaboklab(62.09% 0.1988 -0.0801)
OKLCHoklch(62.09% 0.214 338.1)
XYZxyz(36.5632, 20.8157, 44.2030)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242B2 #42D262
analogous
#AA42D2 #D242B2 #D2426A
triadic
#D242B2 #B2D242 #42B2D2
tetradic
#D242B2 #D2AA42 #42D262 #426AD2
square
#D242B2 #D2AA42 #42D262 #426AD2
split-complementary
#D242B2 #6AD242 #42D2AA
monochromatic
#7C1E67 #AD2990 #D242B2 #DE73C6 #EAA5DA

Accessibility & contrast

On white

4.07
#D242B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D242B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242B2#FFFFFF#000000##000000
##D242B21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#DD4974
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d242b2;
/* rgb */ color: rgb(210, 66, 178);
/* oklch */ color: oklch(62.1% 0.214 338.1);
Tailwind
colors: {
  custom: {
    50: '#e482c9',
    500: '#d242b2',
    950: '#000000',
  },
}
SCSS
$custom: #d242b2;
$custom-light: #e482c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d242b2",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 313.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62089,
    "c": 0.21437,
    "h": 338.1
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

primary
#D242B2
secondary
#99D7A7
accent
#E56743
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242B2

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

Preview Lab → · Contrast checker → · Palette generator →

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