#D45298#D45298

#D45298 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.179 H 350.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D45298
RGBrgb(212, 82, 152)
HSLhsl(328, 60%, 58%)
HSVhsv(328, 61%, 83%)
CMYKcmyk(0%, 61.3%, 28.3%, 16.9%)
CIE-LABlab(54.35, 58.00, -11.85)
CIE-LCHlch(54.35, 59.20, 348.46°)
OKLaboklab(62.99% 0.176 -0.0308)
OKLCHoklch(62.99% 0.179 350.1)
XYZxyz(35.8377, 22.3022, 32.1171)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45298 #52D48E
analogous
#CF52D4 #D45298 #D45257
triadic
#D45298 #98D452 #5298D4
tetradic
#D45298 #D4CF52 #52D48E #5257D4
square
#D45298 #D4CF52 #52D48E #5257D4
split-complementary
#D45298 #57D452 #52D4CF
monochromatic
#89225A #BA2E7A #D45298 #E083B5 #ECB4D2

Accessibility & contrast

On white

3.85
#D45298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D45298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45298
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45298#FFFFFF#000000##000000
##D452981.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#878A95
Tritanopia (blue-blind)
#E24D6E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d45298;
/* rgb */ color: rgb(212, 82, 152);
/* oklch */ color: oklch(63.0% 0.179 350.1);
Tailwind
colors: {
  custom: {
    50: '#e589b6',
    500: '#d45298',
    950: '#000000',
  },
}
SCSS
$custom: #d45298;
$custom-light: #e589b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45298",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 327.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62989,
    "c": 0.17868,
    "h": 350.1
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#D45298
secondary
#A7DBBF
accent
#E38E44
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D45298

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

Preview Lab → · Contrast checker → · Palette generator →

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