#2C071E#2C071E

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

Color values

HEX#2C071E
RGBrgb(44, 7, 30)
HSLhsl(323, 73%, 10%)
HSVhsv(323, 84%, 17%)
CMYKcmyk(0%, 84.1%, 31.8%, 82.7%)
CIE-LABlab(7.06, 21.68, -6.05)
CIE-LCHlch(7.06, 22.50, 344.41°)
OKLaboklab(20.74% 0.0662 -0.0162)
OKLCHoklch(20.74% 0.068 346.2)
XYZxyz(1.3491, 0.7813, 1.3078)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C071E #072C15
analogous
#28072C #2C071E #2C070B
triadic
#2C071E #1E2C07 #071E2C
tetradic
#2C071E #2C2807 #072C15 #070B2C
square
#2C071E #2C2807 #072C15 #070B2C
split-complementary
#2C071E #0B2C07 #072C28
monochromatic
#1A0412 #1A0412 #2C071E #610F42 #961866

Accessibility & contrast

On white

18.16
#2C071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C071E
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C071E#FFFFFF#000000##FFFFFF
##2C071E1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B121F
Deuteranopia (green-blind)
#16181D
Tritanopia (blue-blind)
#300611
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c071e;
/* rgb */ color: rgb(44, 7, 30);
/* oklch */ color: oklch(20.7% 0.068 346.2);
Tailwind
colors: {
  custom: {
    50: '#674a59',
    500: '#2c071e',
    950: '#000000',
  },
}
SCSS
$custom: #2c071e;
$custom-light: #674a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c071e",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 322.703,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20742,
    "c": 0.0681,
    "h": 346.2
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#2C071E
secondary
#236C3F
accent
#EF7E39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2C071E

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

Preview Lab → · Contrast checker → · Palette generator →

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