#DF5FB2#DF5FB2

#DF5FB2 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.1% C 0.184 H 343.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#DF5FB2
RGBrgb(223, 95, 178)
HSLhsl(321, 67%, 62%)
HSVhsv(321, 57%, 87%)
CMYKcmyk(0%, 57.4%, 20.2%, 12.5%)
CIE-LABlab(59.06, 59.00, -19.67)
CIE-LCHlch(59.06, 62.19, 341.56°)
OKLaboklab(67.11% 0.1763 -0.0524)
OKLCHoklch(67.11% 0.184 343.5)
XYZxyz(42.5606, 27.0905, 45.0983)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5FB2 #5FDF8C
analogous
#CC5FDF #DF5FB2 #DF5F72
triadic
#DF5FB2 #B2DF5F #5FB2DF
tetradic
#DF5FB2 #DFCC5F #5FDF8C #5F72DF
square
#DF5FB2 #DFCC5F #5FDF8C #5F72DF
split-complementary
#DF5FB2 #72DF5F #5FDFCC
monochromatic
#A32175 #D52C99 #DF5FB2 #E992CB #F3C5E3

Accessibility & contrast

On white

3.27
#DF5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#DF5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5FB2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5FB2#FFFFFF#000000##000000
##DF5FB21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#8D96AF
Tritanopia (blue-blind)
#EC5F81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df5fb2;
/* rgb */ color: rgb(223, 95, 178);
/* oklch */ color: oklch(67.1% 0.184 343.5);
Tailwind
colors: {
  custom: {
    50: '#ec92c9',
    500: '#df5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #df5fb2;
$custom-light: #ec92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#df5fb2",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 321.094,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67109,
    "c": 0.18389,
    "h": 343.5
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

primary
#DF5FB2
secondary
#B6E4C6
accent
#CF5717
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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