#2C021A#2C021A

#2C021A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.076 H 350.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2C021A
RGBrgb(44, 2, 26)
HSLhsl(326, 91%, 9%)
HSVhsv(326, 95%, 17%)
CMYKcmyk(0%, 95.5%, 40.9%, 82.7%)
CIE-LABlab(5.90, 23.51, -4.64)
CIE-LCHlch(5.90, 23.96, 348.84°)
OKLaboklab(19.71% 0.075 -0.0131)
OKLCHoklch(19.71% 0.076 350.1)
XYZxyz(1.2469, 0.6536, 1.0376)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C021A #022C14
analogous
#29022C #2C021A #2C0205
triadic
#2C021A #1A2C02 #021A2C
tetradic
#2C021A #2C2902 #022C14 #02052C
square
#2C021A #2C2902 #022C14 #02052C
split-complementary
#2C021A #052C02 #022C29
monochromatic
#1D0111 #1D0111 #2C021A #67053D #A1075F

Accessibility & contrast

On white

18.57
#2C021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C021A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C021A#FFFFFF#000000##FFFFFF
##2C021A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1B
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#30000C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c021a;
/* rgb */ color: rgb(44, 2, 26);
/* oklch */ color: oklch(19.7% 0.076 350.1);
Tailwind
colors: {
  custom: {
    50: '#674756',
    500: '#2c021a',
    950: '#000000',
  },
}
SCSS
$custom: #2c021a;
$custom-light: #674756;
$custom-dark: #000000;
JSON
{
  "hex": "#2c021a",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 325.714,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19709,
    "c": 0.07614,
    "h": 350.1
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#2C021A
secondary
#19713F
accent
#FF8529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C021A

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

Preview Lab → · Contrast checker → · Palette generator →

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