#2C0212#2C0212

#2C0212 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.072 H 2.0°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2C0212
RGBrgb(44, 2, 18)
HSLhsl(337, 91%, 9%)
HSVhsv(337, 95%, 17%)
CMYKcmyk(0%, 95.5%, 59.1%, 82.7%)
CIE-LABlab(5.62, 22.23, 0.68)
CIE-LCHlch(5.62, 22.24, 1.74°)
OKLaboklab(19.34% 0.0721 0.0025)
OKLCHoklch(19.34% 0.072 2)
XYZxyz(1.1697, 0.6227, 0.6308)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0212 #022C1C
analogous
#2C0227 #2C0212 #2C0702
triadic
#2C0212 #122C02 #02122C
tetradic
#2C0212 #272C02 #022C1C #07022C
square
#2C0212 #272C02 #022C1C #07022C
split-complementary
#2C0212 #022C07 #02272C
monochromatic
#1D010C #1D010C #2C0212 #67052A #A10742

Accessibility & contrast

On white

18.67
#2C0212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2C0212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0212
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0212#FFFFFF#000000##FFFFFF
##2C02121.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D12
Deuteranopia (green-blind)
#171511
Tritanopia (blue-blind)
#310008
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2c0212;
/* rgb */ color: rgb(44, 2, 18);
/* oklch */ color: oklch(19.3% 0.072 2.0);
Tailwind
colors: {
  custom: {
    50: '#684750',
    500: '#2c0212',
    950: '#000000',
  },
}
SCSS
$custom: #2c0212;
$custom-light: #684750;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0212",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 337.143,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19343,
    "c": 0.0721,
    "h": 2
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2C0212
secondary
#19714F
accent
#FFAD29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0212

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

Preview Lab → · Contrast checker → · Palette generator →

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