#2C021C#2C021C

#2C021C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.077 H 347.3°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#2C021C
RGBrgb(44, 2, 28)
HSLhsl(323, 91%, 9%)
HSVhsv(323, 95%, 17%)
CMYKcmyk(0%, 95.5%, 36.4%, 82.7%)
CIE-LABlab(5.99, 23.88, -6.09)
CIE-LCHlch(5.99, 24.64, 345.69°)
OKLaboklab(19.82% 0.0756 -0.017)
OKLCHoklch(19.82% 0.077 347.3)
XYZxyz(1.2701, 0.6629, 1.1594)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C021C #022C12
analogous
#27022C #2C021C #2C0207
triadic
#2C021C #1C2C02 #021C2C
tetradic
#2C021C #2C2702 #022C12 #02072C
square
#2C021C #2C2702 #022C12 #02072C
split-complementary
#2C021C #072C02 #022C27
monochromatic
#1D0113 #1D0113 #2C021C #670541 #A10767

Accessibility & contrast

On white

18.54
#2C021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2C021C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C021C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C021C#FFFFFF#000000##FFFFFF
##2C021C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1D
Deuteranopia (green-blind)
#14161B
Tritanopia (blue-blind)
#30010D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c021c;
/* rgb */ color: rgb(44, 2, 28);
/* oklch */ color: oklch(19.8% 0.077 347.3);
Tailwind
colors: {
  custom: {
    50: '#674758',
    500: '#2c021c',
    950: '#000000',
  },
}
SCSS
$custom: #2c021c;
$custom-light: #674758;
$custom-dark: #000000;
JSON
{
  "hex": "#2c021c",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 322.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19816,
    "c": 0.07744,
    "h": 347.3
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2C021C
secondary
#19713A
accent
#FF7A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C021C

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

Preview Lab → · Contrast checker → · Palette generator →

#2C021C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva