#2C041F#2C041F

#2C041F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.075 H 343.8°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#2C041F
RGBrgb(44, 4, 31)
HSLhsl(320, 83%, 9%)
HSVhsv(320, 91%, 17%)
CMYKcmyk(0%, 90.9%, 29.5%, 82.7%)
CIE-LABlab(6.52, 23.42, -7.64)
CIE-LCHlch(6.52, 24.63, 341.93°)
OKLaboklab(20.32% 0.0721 -0.0209)
OKLCHoklch(20.32% 0.075 343.8)
XYZxyz(1.3295, 0.7214, 1.3653)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C041F #042C11
analogous
#25042C #2C041F #2C040B
triadic
#2C041F #1F2C04 #041F2C
tetradic
#2C041F #2C2504 #042C11 #040B2C
square
#2C041F #2C2504 #042C11 #040B2C
split-complementary
#2C041F #0B2C04 #042C25
monochromatic
#1C0314 #1C0314 #2C041F #640947 #9C0E6E

Accessibility & contrast

On white

18.35
#2C041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C041F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C041F#FFFFFF#000000##FFFFFF
##2C041F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081020
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#300410
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c041f;
/* rgb */ color: rgb(44, 4, 31);
/* oklch */ color: oklch(20.3% 0.075 343.8);
Tailwind
colors: {
  custom: {
    50: '#67485a',
    500: '#2c041f',
    950: '#000000',
  },
}
SCSS
$custom: #2c041f;
$custom-light: #67485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c041f",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 319.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20319,
    "c": 0.0751,
    "h": 343.8
  },
  "luminance": 0.00721
}

Semantic roles & 50–950 ramp

primary
#2C041F
secondary
#1D6F38
accent
#FA702E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C041F

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

Preview Lab → · Contrast checker → · Palette generator →

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