#2C071F#2C071F

#2C071F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.069 H 344.7°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2C071F
RGBrgb(44, 7, 31)
HSLhsl(321, 73%, 10%)
HSVhsv(321, 84%, 17%)
CMYKcmyk(0%, 84.1%, 29.5%, 82.7%)
CIE-LABlab(7.10, 21.86, -6.75)
CIE-LCHlch(7.10, 22.88, 342.84°)
OKLaboklab(20.8% 0.0664 -0.0181)
OKLCHoklch(20.8% 0.069 344.7)
XYZxyz(1.3621, 0.7865, 1.3761)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C071F #072C14
analogous
#26072C #2C071F #2C070D
triadic
#2C071F #1F2C07 #071F2C
tetradic
#2C071F #2C2607 #072C14 #070D2C
square
#2C071F #2C2607 #072C14 #070D2C
split-complementary
#2C071F #0D2C07 #072C26
monochromatic
#1A0413 #1A0413 #2C071F #610F44 #961869

Accessibility & contrast

On white

18.15
#2C071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C071F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C071F#FFFFFF#000000##FFFFFF
##2C071F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#16181E
Tritanopia (blue-blind)
#300711
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c071f;
/* rgb */ color: rgb(44, 7, 31);
/* oklch */ color: oklch(20.8% 0.069 344.7);
Tailwind
colors: {
  custom: {
    50: '#674a5a',
    500: '#2c071f',
    950: '#000000',
  },
}
SCSS
$custom: #2c071f;
$custom-light: #674a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c071f",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 321.081,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20796,
    "c": 0.06886,
    "h": 344.7
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#2C071F
secondary
#236C3D
accent
#EF7939
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2C071F

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

Preview Lab → · Contrast checker → · Palette generator →

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