#DC2F58#DC2F58

#DC2F58 is a mid, highly saturated red. Relative luminance 0.180; OKLCH L 59.0% C 0.207 H 13.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#DC2F58
RGBrgb(220, 47, 88)
HSLhsl(346, 71%, 52%)
HSVhsv(346, 79%, 86%)
CMYKcmyk(0%, 78.6%, 60%, 13.7%)
CIE-LABlab(49.45, 66.81, 19.70)
CIE-LCHlch(49.45, 69.66, 16.43°)
OKLaboklab(59.05% 0.2011 0.0484)
OKLCHoklch(59.05% 0.207 13.5)
XYZxyz(32.2965, 17.9581, 10.9963)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2F58 #2FDCB3
analogous
#DC2FAF #DC2F58 #DC5C2F
triadic
#DC2F58 #58DC2F #2F58DC
tetradic
#DC2F58 #AFDC2F #2FDCB3 #5C2FDC
square
#DC2F58 #AFDC2F #2FDCB3 #5C2FDC
split-complementary
#DC2F58 #2FDC5C #2FAFDC
monochromatic
#7C152D #B01E40 #DC2F58 #E56382 #EE98AC

Accessibility & contrast

On white

4.57
#DC2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#DC2F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC2F58
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2F58#FFFFFF#000000##000000
##DC2F581.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#615F58
Deuteranopia (green-blind)
#8D8253
Tritanopia (blue-blind)
#F10041
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #dc2f58;
/* rgb */ color: rgb(220, 47, 88);
/* oklch */ color: oklch(59.0% 0.207 13.5);
Tailwind
colors: {
  custom: {
    50: '#ef7886',
    500: '#dc2f58',
    950: '#000000',
  },
}
SCSS
$custom: #dc2f58;
$custom-light: #ef7886;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2f58",
  "rgb": {
    "r": 220,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 345.78,
    "s": 71.193,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.20681,
    "h": 13.5
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#DC2F58
secondary
#8ED9C7
accent
#EEC33A
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#180A0B
muted
#867C7C

Preview Lab

Preview with #DC2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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