#D245A7#D245A7

#D245A7 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.203 H 342.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D245A7
RGBrgb(210, 69, 167)
HSLhsl(318, 61%, 55%)
HSVhsv(318, 67%, 82%)
CMYKcmyk(0%, 67.1%, 20.5%, 17.6%)
CIE-LABlab(52.68, 64.68, -23.24)
CIE-LCHlch(52.68, 68.73, 340.24°)
OKLaboklab(61.89% 0.1937 -0.0623)
OKLCHoklch(61.89% 0.203 342.2)
XYZxyz(35.6826, 20.7514, 38.6779)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D245A7 #45D270
analogous
#B745D2 #D245A7 #D24561
triadic
#D245A7 #A7D245 #45A7D2
tetradic
#D245A7 #D2B745 #45D270 #4561D2
square
#D245A7 #D2B745 #45D270 #4561D2
split-complementary
#D245A7 #61D245 #45D2B7
monochromatic
#7E1F61 #AF2A87 #D245A7 #DE76BE #EAA8D6

Accessibility & contrast

On white

4.08
#D245A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D245A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D245A7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D245A7#FFFFFF#000000##000000
##D245A71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7C86A4
Tritanopia (blue-blind)
#DF4670
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d245a7;
/* rgb */ color: rgb(210, 69, 167);
/* oklch */ color: oklch(61.9% 0.203 342.2);
Tailwind
colors: {
  custom: {
    50: '#e483c1',
    500: '#d245a7',
    950: '#000000',
  },
}
SCSS
$custom: #d245a7;
$custom-light: #e483c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d245a7",
  "rgb": {
    "r": 210,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 318.298,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.20346,
    "h": 342.2
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#D245A7
secondary
#9CD7AE
accent
#E47544
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D245A7

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

Preview Lab → · Contrast checker → · Palette generator →

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