#2C041B#2C041B

#2C041B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.1% C 0.072 H 349.6°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#2C041B
RGBrgb(44, 4, 27)
HSLhsl(326, 83%, 9%)
HSVhsv(326, 91%, 17%)
CMYKcmyk(0%, 90.9%, 38.6%, 82.7%)
CIE-LABlab(6.34, 22.68, -4.78)
CIE-LCHlch(6.34, 23.17, 348.09°)
OKLaboklab(20.1% 0.0711 -0.0131)
OKLCHoklch(20.1% 0.072 349.6)
XYZxyz(1.2800, 0.7016, 1.1047)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C041B #042C15
analogous
#29042C #2C041B #2C0407
triadic
#2C041B #1B2C04 #041B2C
tetradic
#2C041B #2C2904 #042C15 #04072C
square
#2C041B #2C2904 #042C15 #04072C
split-complementary
#2C041B #072C04 #042C29
monochromatic
#1C0311 #1C0311 #2C041B #64093D #9C0E60

Accessibility & contrast

On white

18.42
#2C041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2C041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C041B
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C041B#FFFFFF#000000##FFFFFF
##2C041B1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1C
Deuteranopia (green-blind)
#16171A
Tritanopia (blue-blind)
#30030E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c041b;
/* rgb */ color: rgb(44, 4, 27);
/* oklch */ color: oklch(20.1% 0.072 349.6);
Tailwind
colors: {
  custom: {
    50: '#674857',
    500: '#2c041b',
    950: '#000000',
  },
}
SCSS
$custom: #2c041b;
$custom-light: #674857;
$custom-dark: #000000;
JSON
{
  "hex": "#2c041b",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 325.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20101,
    "c": 0.07227,
    "h": 349.6
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#2C041B
secondary
#1D6F40
accent
#FA852E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C041B

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

Preview Lab → · Contrast checker → · Palette generator →

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