#2C011F#2C011F

#2C011F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.082 H 343.0°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#2C011F
RGBrgb(44, 1, 31)
HSLhsl(318, 96%, 9%)
HSVhsv(318, 98%, 17%)
CMYKcmyk(0%, 97.7%, 29.5%, 82.7%)
CIE-LABlab(5.93, 24.96, -8.53)
CIE-LCHlch(5.93, 26.38, 341.13°)
OKLaboklab(19.82% 0.0783 -0.0239)
OKLCHoklch(19.82% 0.082 343)
XYZxyz(1.2969, 0.6563, 1.3544)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C011F #012C0E
analogous
#24012C #2C011F #2C010A
triadic
#2C011F #1F2C01 #011F2C
tetradic
#2C011F #2C2401 #012C0E #010A2C
square
#2C011F #2C2401 #012C0E #010A2C
split-complementary
#2C011F #0A2C01 #012C24
monochromatic
#1E0115 #1E0115 #2C011F #680249 #A40473

Accessibility & contrast

On white

18.56
#2C011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2C011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C011F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C011F#FFFFFF#000000##FFFFFF
##2C011F1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E20
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#30010E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c011f;
/* rgb */ color: rgb(44, 1, 31);
/* oklch */ color: oklch(19.8% 0.082 343.0);
Tailwind
colors: {
  custom: {
    50: '#67465a',
    500: '#2c011f',
    950: '#000000',
  },
}
SCSS
$custom: #2c011f;
$custom-light: #67465a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c011f",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 318.14,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19818,
    "c": 0.0819,
    "h": 343
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#2C011F
secondary
#177232
accent
#FF6A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C011F

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

Preview Lab → · Contrast checker → · Palette generator →

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