#2C0312#2C0312

#2C0312 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.070 H 2.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2C0312
RGBrgb(44, 3, 18)
HSLhsl(338, 87%, 9%)
HSVhsv(338, 93%, 17%)
CMYKcmyk(0%, 93.2%, 59.1%, 82.7%)
CIE-LABlab(5.82, 21.74, 0.96)
CIE-LCHlch(5.82, 21.76, 2.53°)
OKLaboklab(19.52% 0.0698 0.0034)
OKLCHoklch(19.52% 0.07 2.8)
XYZxyz(1.1806, 0.6444, 0.6344)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0312 #032C1D
analogous
#2C0327 #2C0312 #2C0903
triadic
#2C0312 #122C03 #03122C
tetradic
#2C0312 #272C03 #032C1D #09032C
square
#2C0312 #272C03 #032C1D #09032C
split-complementary
#2C0312 #032C09 #03272C
monochromatic
#1D020C #1D020C #2C0312 #650729 #9F0B41

Accessibility & contrast

On white

18.60
#2C0312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0312
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0312#FFFFFF#000000##FFFFFF
##2C03121.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0D12
Deuteranopia (green-blind)
#171611
Tritanopia (blue-blind)
#310009
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c0312;
/* rgb */ color: rgb(44, 3, 18);
/* oklch */ color: oklch(19.5% 0.070 2.8);
Tailwind
colors: {
  custom: {
    50: '#684750',
    500: '#2c0312',
    950: '#000000',
  },
}
SCSS
$custom: #2c0312;
$custom-light: #684750;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0312",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 338.049,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19522,
    "c": 0.06988,
    "h": 2.8
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#2C0312
secondary
#1B7051
accent
#FDB02A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0312

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

Preview Lab → · Contrast checker → · Palette generator →

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