#D23DA7#D23DA7

#D23DA7 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.1% C 0.213 H 341.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D23DA7
RGBrgb(210, 61, 167)
HSLhsl(317, 62%, 53%)
HSVhsv(317, 71%, 82%)
CMYKcmyk(0%, 71%, 20.5%, 17.6%)
CIE-LABlab(51.65, 67.56, -24.82)
CIE-LCHlch(51.65, 71.97, 339.83°)
OKLaboklab(61.14% 0.2025 -0.0667)
OKLCHoklch(61.14% 0.213 341.8)
XYZxyz(35.2232, 19.8327, 38.5248)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23DA7 #3DD268
analogous
#B23DD2 #D23DA7 #D23D5D
triadic
#D23DA7 #A7D23D #3DA7D2
tetradic
#D23DA7 #D2B23D #3DD268 #3D5DD2
square
#D23DA7 #D2B23D #3DD268 #3D5DD2
split-complementary
#D23DA7 #5DD23D #3DD2B2
monochromatic
#791C5E #AA2885 #D23DA7 #DE6FBE #E9A0D4

Accessibility & contrast

On white

4.23
#D23DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D23DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23DA7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23DA7#FFFFFF#000000##000000
##D23DA71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#DF3F6D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d23da7;
/* rgb */ color: rgb(210, 61, 167);
/* oklch */ color: oklch(61.1% 0.213 341.8);
Tailwind
colors: {
  custom: {
    50: '#e47fc1',
    500: '#d23da7',
    950: '#000000',
  },
}
SCSS
$custom: #d23da7;
$custom-light: #e47fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#d23da7",
  "rgb": {
    "r": 210,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 317.315,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61135,
    "c": 0.21315,
    "h": 341.8
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#D23DA7
secondary
#95D6A8
accent
#E57142
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D23DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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