#DF2C8B#DF2C8B

#DF2C8B is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.224 H 354.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#DF2C8B
RGBrgb(223, 44, 139)
HSLhsl(328, 74%, 52%)
HSVhsv(328, 80%, 87%)
CMYKcmyk(0%, 80.3%, 37.7%, 12.5%)
CIE-LABlab(51.10, 72.51, -8.80)
CIE-LCHlch(51.10, 73.04, 353.08°)
OKLaboklab(60.81% 0.2231 -0.0223)
OKLCHoklch(60.81% 0.224 354.3)
XYZxyz(35.9948, 19.3580, 26.2621)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2C8B #2CDF80
analogous
#D92CDF #DF2C8B #DF2C32
triadic
#DF2C8B #8BDF2C #2C8BDF
tetradic
#DF2C8B #DFD92C #2CDF80 #2C32DF
square
#DF2C8B #DFD92C #2CDF80 #2C32DF
split-complementary
#DF2C8B #32DF2C #2CDFD9
monochromatic
#7E134C #B31B6C #DF2C8B #E761A8 #EF96C5

Accessibility & contrast

On white

4.31
#DF2C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#DF2C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2C8B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2C8B#FFFFFF#000000##000000
##DF2C8B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#53658D
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#F10C59
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #df2c8b;
/* rgb */ color: rgb(223, 44, 139);
/* oklch */ color: oklch(60.8% 0.224 354.3);
Tailwind
colors: {
  custom: {
    50: '#ef79ac',
    500: '#df2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #df2c8b;
$custom-light: #ef79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#df2c8b",
  "rgb": {
    "r": 223,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 328.156,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.22419,
    "h": 354.3
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#DF2C8B
secondary
#8CDAB1
accent
#F08E37
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#180A10
muted
#867C7F

Preview Lab

Preview with #DF2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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