#2C071A#2C071A

#2C071A is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.5% C 0.065 H 352.6°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#2C071A
RGBrgb(44, 7, 26)
HSLhsl(329, 73%, 10%)
HSVhsv(329, 84%, 17%)
CMYKcmyk(0%, 84.1%, 40.9%, 82.7%)
CIE-LABlab(6.88, 20.97, -3.19)
CIE-LCHlch(6.88, 21.21, 351.35°)
OKLaboklab(20.54% 0.0648 -0.0084)
OKLCHoklch(20.54% 0.065 352.6)
XYZxyz(1.3012, 0.7622, 1.0557)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C071A #072C19
analogous
#2B072C #2C071A #2C0708
triadic
#2C071A #1A2C07 #071A2C
tetradic
#2C071A #2C2B07 #072C19 #07082C
square
#2C071A #2C2B07 #072C19 #07082C
split-complementary
#2C071A #082C07 #072C2B
monochromatic
#1A0410 #1A0410 #2C071A #610F39 #961858

Accessibility & contrast

On white

18.22
#2C071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C071A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C071A#FFFFFF#000000##FFFFFF
##2C071A1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D111B
Deuteranopia (green-blind)
#171819
Tritanopia (blue-blind)
#30050F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c071a;
/* rgb */ color: rgb(44, 7, 26);
/* oklch */ color: oklch(20.5% 0.065 352.6);
Tailwind
colors: {
  custom: {
    50: '#674a56',
    500: '#2c071a',
    950: '#000000',
  },
}
SCSS
$custom: #2c071a;
$custom-light: #674a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c071a",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 329.189,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20541,
    "c": 0.06539,
    "h": 352.6
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#2C071A
secondary
#236C46
accent
#EF9139
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2C071A

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

Preview Lab → · Contrast checker → · Palette generator →

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