#D248CC#D248CC

#D248CC is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.226 H 329.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D248CC
RGBrgb(210, 72, 204)
HSLhsl(303, 61%, 55%)
HSVhsv(303, 66%, 82%)
CMYKcmyk(0%, 65.7%, 2.9%, 17.6%)
CIE-LABlab(54.76, 69.05, -41.42)
CIE-LCHlch(54.76, 80.52, 329.04°)
OKLaboklab(63.95% 0.1949 -0.1141)
OKLCHoklch(63.95% 0.226 329.6)
XYZxyz(39.7945, 22.6989, 59.4004)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D248CC #48D24E
analogous
#9348D2 #D248CC #D24887
triadic
#D248CC #CCD248 #48CCD2
tetradic
#D248CC #D29348 #48D24E #4887D2
square
#D248CC #D29348 #48D24E #4887D2
split-complementary
#D248CC #87D248 #48D293
monochromatic
#80207C #B12CAB #D248CC #DE79DA #EAAAE7

Accessibility & contrast

On white

3.79
#D248CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D248CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D248CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D248CC#FFFFFF#000000##000000
##D248CC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#D95984
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d248cc;
/* rgb */ color: rgb(210, 72, 204);
/* oklch */ color: oklch(63.9% 0.226 329.6);
Tailwind
colors: {
  custom: {
    50: '#e385dc',
    500: '#d248cc',
    950: '#000000',
  },
}
SCSS
$custom: #d248cc;
$custom-light: #e385dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d248cc",
  "rgb": {
    "r": 210,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 302.609,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63947,
    "c": 0.22587,
    "h": 329.6
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#D248CC
secondary
#9ED8A1
accent
#E44B44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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