#D82F6C#D82F6C

#D82F6C is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 58.8% C 0.206 H 5.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D82F6C
RGBrgb(216, 47, 108)
HSLhsl(338, 68%, 52%)
HSVhsv(338, 78%, 85%)
CMYKcmyk(0%, 78.2%, 50%, 15.3%)
CIE-LABlab(49.15, 67.16, 6.98)
CIE-LCHlch(49.15, 67.53, 5.93°)
OKLaboklab(58.85% 0.2055 0.0184)
OKLCHoklch(58.85% 0.206 5.1)
XYZxyz(32.0451, 17.7192, 15.9172)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D82F6C #2FD89B
analogous
#D82FC1 #D82F6C #D8472F
triadic
#D82F6C #6CD82F #2F6CD8
tetradic
#D82F6C #C1D82F #2FD89B #472FD8
square
#D82F6C #C1D82F #2FD89B #472FD8
split-complementary
#D82F6C #2FD847 #2FC1D8
monochromatic
#761639 #AA2052 #D82F6C #E26390 #EB96B5

Accessibility & contrast

On white

4.62
#D82F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#D82F6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D82F6C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D82F6C#FFFFFF#000000##FFFFFF
##D82F6C1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606D
Deuteranopia (green-blind)
#878168
Tritanopia (blue-blind)
#EB004A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d82f6c;
/* rgb */ color: rgb(216, 47, 108);
/* oklch */ color: oklch(58.8% 0.206 5.1);
Tailwind
colors: {
  custom: {
    50: '#eb7895',
    500: '#d82f6c',
    950: '#000000',
  },
}
SCSS
$custom: #d82f6c;
$custom-light: #eb7895;
$custom-dark: #000000;
JSON
{
  "hex": "#d82f6c",
  "rgb": {
    "r": 216,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 338.343,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.20628,
    "h": 5.1
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#D82F6C
secondary
#8CD7BC
accent
#EBAC3D
background
#FFF7F9
surface
#FFEEF1
border
#D7C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D82F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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