#D242A3#D242A3

#D242A3 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.205 H 343.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D242A3
RGBrgb(210, 66, 163)
HSLhsl(320, 62%, 54%)
HSVhsv(320, 69%, 82%)
CMYKcmyk(0%, 68.6%, 22.4%, 17.6%)
CIE-LABlab(52.11, 65.26, -21.75)
CIE-LCHlch(52.11, 68.79, 341.57°)
OKLaboklab(61.42% 0.1963 -0.0581)
OKLCHoklch(61.42% 0.205 343.5)
XYZxyz(35.1386, 20.2459, 36.7005)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242A3 #42D271
analogous
#B942D2 #D242A3 #D2425B
triadic
#D242A3 #A3D242 #42A3D2
tetradic
#D242A3 #D2B942 #42D271 #425BD2
square
#D242A3 #D2B942 #42D271 #425BD2
split-complementary
#D242A3 #5BD242 #42D2B9
monochromatic
#7C1E5D #AD2982 #D242A3 #DE73BB #EAA5D3

Accessibility & contrast

On white

4.16
#D242A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D242A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242A3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242A3#FFFFFF#000000##000000
##D242A31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#7C85A0
Tritanopia (blue-blind)
#DF426D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d242a3;
/* rgb */ color: rgb(210, 66, 163);
/* oklch */ color: oklch(61.4% 0.205 343.5);
Tailwind
colors: {
  custom: {
    50: '#e481be',
    500: '#d242a3',
    950: '#000000',
  },
}
SCSS
$custom: #d242a3;
$custom-light: #e481be;
$custom-dark: #000000;
JSON
{
  "hex": "#d242a3",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 319.583,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.20474,
    "h": 343.5
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#D242A3
secondary
#99D7AD
accent
#E57843
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D242A3

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

Preview Lab → · Contrast checker → · Palette generator →

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