#DC258B#DC258B

#DC258B is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.9% C 0.228 H 353.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#DC258B
RGBrgb(220, 37, 139)
HSLhsl(327, 72%, 50%)
HSVhsv(327, 83%, 86%)
CMYKcmyk(0%, 83.2%, 36.8%, 13.7%)
CIE-LABlab(49.99, 73.41, -10.53)
CIE-LCHlch(49.99, 74.16, 351.84°)
OKLaboklab(59.9% 0.2259 -0.027)
OKLCHoklch(59.9% 0.228 353.2)
XYZxyz(34.8393, 18.4073, 26.1394)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC258B #25DC76
analogous
#D125DC #DC258B #DC2530
triadic
#DC258B #8BDC25 #258BDC
tetradic
#DC258B #DCD125 #25DC76 #2530DC
square
#DC258B #DCD125 #25DC76 #2530DC
split-complementary
#DC258B #30DC25 #25DCD1
monochromatic
#741349 #A91B6A #DC258B #E45AA7 #ED8EC3

Accessibility & contrast

On white

4.49
#DC258B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#DC258B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC258B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC258B#FFFFFF#000000##000000
##DC258B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E628D
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#EE0057
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #dc258b;
/* rgb */ color: rgb(220, 37, 139);
/* oklch */ color: oklch(59.9% 0.228 353.2);
Tailwind
colors: {
  custom: {
    50: '#ed77ac',
    500: '#dc258b',
    950: '#000000',
  },
}
SCSS
$custom: #dc258b;
$custom-light: #ed77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc258b",
  "rgb": {
    "r": 220,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 326.557,
    "s": 72.332,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.22754,
    "h": 353.2
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#DC258B
secondary
#86D7AA
accent
#EF8939
background
#FFF7FA
surface
#FFEEF4
border
#D7C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #DC258B

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

Preview Lab → · Contrast checker → · Palette generator →

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