#D242AF#D242AF

#D242AF is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 62.0% C 0.212 H 339.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D242AF
RGBrgb(210, 66, 175)
HSLhsl(315, 62%, 54%)
HSVhsv(315, 69%, 82%)
CMYKcmyk(0%, 68.6%, 16.7%, 17.6%)
CIE-LABlab(52.62, 66.89, -28.01)
CIE-LCHlch(52.62, 72.52, 337.28°)
OKLaboklab(61.95% 0.1984 -0.0757)
OKLCHoklch(61.95% 0.212 339.1)
XYZxyz(36.2652, 20.6966, 42.6340)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242AF #42D265
analogous
#AD42D2 #D242AF #D24267
triadic
#D242AF #AFD242 #42AFD2
tetradic
#D242AF #D2AD42 #42D265 #4267D2
square
#D242AF #D2AD42 #42D265 #4267D2
split-complementary
#D242AF #67D242 #42D2AD
monochromatic
#7C1E65 #AD298D #D242AF #DE73C4 #EAA5D9

Accessibility & contrast

On white

4.09
#D242AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D242AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242AF#FFFFFF#000000##000000
##D242AF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#DE4773
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d242af;
/* rgb */ color: rgb(210, 66, 175);
/* oklch */ color: oklch(62.0% 0.212 339.1);
Tailwind
colors: {
  custom: {
    50: '#e482c7',
    500: '#d242af',
    950: '#000000',
  },
}
SCSS
$custom: #d242af;
$custom-light: #e482c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d242af",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 314.583,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.21236,
    "h": 339.1
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#D242AF
secondary
#99D7A8
accent
#E56A43
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D242AF

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

Preview Lab → · Contrast checker → · Palette generator →

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