#DC0123#DC0123

#DC0123 is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.4% C 0.228 H 25.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#DC0123
RGBrgb(220, 1, 35)
HSLhsl(351, 99%, 43%)
HSVhsv(351, 100%, 86%)
CMYKcmyk(0%, 99.5%, 84.1%, 13.7%)
CIE-LABlab(46.13, 72.01, 46.82)
CIE-LCHlch(46.13, 85.89, 33.03°)
OKLaboklab(56.36% 0.2066 0.0972)
OKLCHoklch(56.36% 0.228 25.2)
XYZxyz(29.8334, 15.3639, 2.9845)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC0123 #01DCBA
analogous
#DC0190 #DC0123 #DC4C01
triadic
#DC0123 #23DC01 #0123DC
tetradic
#DC0123 #90DC01 #01DCBA #4C01DC
square
#DC0123 #90DC01 #01DCBA #4C01DC
split-complementary
#DC0123 #01DC4C #0190DC
monochromatic
#620010 #9F0119 #DC0123 #FE1C3F #FE5973

Accessibility & contrast

On white

5.16
#DC0123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#DC0123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #DC0123
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC0123#FFFFFF#000000##FFFFFF
##DC01231.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5221
Deuteranopia (green-blind)
#8B7C16
Tritanopia (blue-blind)
#F30017
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #dc0123;
/* rgb */ color: rgb(220, 1, 35);
/* oklch */ color: oklch(56.4% 0.228 25.2);
Tailwind
colors: {
  custom: {
    50: '#f36d5f',
    500: '#dc0123',
    950: '#000000',
  },
}
SCSS
$custom: #dc0123;
$custom-light: #f36d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#dc0123",
  "rgb": {
    "r": 220,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 350.685,
    "s": 99.095,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.22829,
    "h": 25.2
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#DC0123
secondary
#58E1CC
accent
#FFDE29
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190905
muted
#867B79

Preview Lab

Preview with #DC0123

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

Preview Lab → · Contrast checker → · Palette generator →

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