#D45FA2#D45FA2

#D45FA2 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.0% C 0.165 H 347.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D45FA2
RGBrgb(212, 95, 162)
HSLhsl(326, 58%, 60%)
HSVhsv(326, 55%, 83%)
CMYKcmyk(0%, 55.2%, 23.6%, 16.9%)
CIE-LABlab(56.87, 53.48, -13.89)
CIE-LCHlch(56.87, 55.25, 345.44°)
OKLaboklab(64.98% 0.1608 -0.0365)
OKLCHoklch(64.98% 0.165 347.2)
XYZxyz(37.7664, 24.7935, 36.9720)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FA2 #5FD491
analogous
#CB5FD4 #D45FA2 #D45F68
triadic
#D45FA2 #A2D45F #5FA2D4
tetradic
#D45FA2 #D4CB5F #5FD491 #5F68D4
square
#D45FA2 #D4CB5F #5FD491 #5F68D4
split-complementary
#D45FA2 #68D45F #5FD4CB
monochromatic
#912764 #C23485 #D45FA2 #E18FBE #EEBFDA

Accessibility & contrast

On white

3.52
#D45FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D45FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FA2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FA2#FFFFFF#000000##000000
##D45FA21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#8B909F
Tritanopia (blue-blind)
#E15C79
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45fa2;
/* rgb */ color: rgb(212, 95, 162);
/* oklch */ color: oklch(65.0% 0.165 347.2);
Tailwind
colors: {
  custom: {
    50: '#e491bd',
    500: '#d45fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d45fa2;
$custom-light: #e491bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fa2",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 325.641,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.16492,
    "h": 347.2
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#D45FA2
secondary
#B1DEC4
accent
#C56720
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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