#2C071D#2C071D

#2C071D is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.067 H 347.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2C071D
RGBrgb(44, 7, 29)
HSLhsl(324, 73%, 10%)
HSVhsv(324, 84%, 17%)
CMYKcmyk(0%, 84.1%, 34.1%, 82.7%)
CIE-LABlab(7.01, 21.49, -5.34)
CIE-LCHlch(7.01, 22.15, 346.05°)
OKLaboklab(20.69% 0.0659 -0.0142)
OKLCHoklch(20.69% 0.067 347.8)
XYZxyz(1.3365, 0.7763, 1.2416)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C071D #072C16
analogous
#28072C #2C071D #2C070B
triadic
#2C071D #1D2C07 #071D2C
tetradic
#2C071D #2C2807 #072C16 #070B2C
square
#2C071D #2C2807 #072C16 #070B2C
split-complementary
#2C071D #0B2C07 #072C28
monochromatic
#1A0411 #1A0411 #2C071D #610F40 #961863

Accessibility & contrast

On white

18.18
#2C071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C071D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C071D#FFFFFF#000000##FFFFFF
##2C071D1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111E
Deuteranopia (green-blind)
#16181C
Tritanopia (blue-blind)
#300610
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c071d;
/* rgb */ color: rgb(44, 7, 29);
/* oklch */ color: oklch(20.7% 0.067 347.8);
Tailwind
colors: {
  custom: {
    50: '#674a58',
    500: '#2c071d',
    950: '#000000',
  },
}
SCSS
$custom: #2c071d;
$custom-light: #674a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c071d",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 324.324,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.2069,
    "c": 0.06737,
    "h": 347.8
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#2C071D
secondary
#236C41
accent
#EF8339
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2C071D

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

Preview Lab → · Contrast checker → · Palette generator →

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