#2C0412#2C0412

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

Color values

HEX#2C0412
RGBrgb(44, 4, 18)
HSLhsl(339, 83%, 9%)
HSVhsv(339, 91%, 17%)
CMYKcmyk(0%, 90.9%, 59.1%, 82.7%)
CIE-LABlab(6.02, 21.25, 1.25)
CIE-LCHlch(6.02, 21.28, 3.36°)
OKLaboklab(19.7% 0.0676 0.0043)
OKLCHoklch(19.7% 0.068 3.6)
XYZxyz(1.1914, 0.6661, 0.6380)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0412 #042C1E
analogous
#2C0426 #2C0412 #2C0A04
triadic
#2C0412 #122C04 #04122C
tetradic
#2C0412 #262C04 #042C1E #0A042C
square
#2C0412 #262C04 #042C1E #0A042C
split-complementary
#2C0412 #042C0A #04262C
monochromatic
#1C030B #1C030B #2C0412 #640929 #9C0E40

Accessibility & contrast

On white

18.53
#2C0412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0412
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0412#FFFFFF#000000##FFFFFF
##2C04121.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#181611
Tritanopia (blue-blind)
#310009
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c0412;
/* rgb */ color: rgb(44, 4, 18);
/* oklch */ color: oklch(19.7% 0.068 3.6);
Tailwind
colors: {
  custom: {
    50: '#684850',
    500: '#2c0412',
    950: '#000000',
  },
}
SCSS
$custom: #2c0412;
$custom-light: #684850;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0412",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 339,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19699,
    "c": 0.06774,
    "h": 3.6
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#2C0412
secondary
#1D6F52
accent
#FAB22E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0412

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

Preview Lab → · Contrast checker → · Palette generator →

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