#2C0712#2C0712

#2C0712 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.062 H 6.2°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2C0712
RGBrgb(44, 7, 18)
HSLhsl(342, 73%, 10%)
HSVhsv(342, 84%, 17%)
CMYKcmyk(0%, 84.1%, 59.1%, 82.7%)
CIE-LABlab(6.61, 19.76, 2.11)
CIE-LCHlch(6.61, 19.87, 6.09°)
OKLaboklab(20.21% 0.0614 0.0067)
OKLCHoklch(20.21% 0.062 6.2)
XYZxyz(1.2240, 0.7313, 0.6488)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0712 #072C21
analogous
#2C0725 #2C0712 #2C0E07
triadic
#2C0712 #122C07 #07122C
tetradic
#2C0712 #252C07 #072C21 #0E072C
square
#2C0712 #252C07 #072C21 #0E072C
split-complementary
#2C0712 #072C0E #07252C
monochromatic
#1A040B #1A040B #2C0712 #610F28 #96183D

Accessibility & contrast

On white

18.32
#2C0712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0712
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0712#FFFFFF#000000##FFFFFF
##2C07121.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#191711
Tritanopia (blue-blind)
#31030B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0712;
/* rgb */ color: rgb(44, 7, 18);
/* oklch */ color: oklch(20.2% 0.062 6.2);
Tailwind
colors: {
  custom: {
    50: '#684950',
    500: '#2c0712',
    950: '#000000',
  },
}
SCSS
$custom: #2c0712;
$custom-light: #684950;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0712",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 342.162,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20207,
    "c": 0.06181,
    "h": 6.2
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#2C0712
secondary
#236C56
accent
#EFB939
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2C0712

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

Preview Lab → · Contrast checker → · Palette generator →

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