#2C0102#2C0102

#2C0102 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.7% C 0.073 H 26.3°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#2C0102
RGBrgb(44, 1, 2)
HSLhsl(359, 96%, 9%)
HSVhsv(359, 98%, 17%)
CMYKcmyk(0%, 97.7%, 95.5%, 82.7%)
CIE-LABlab(5.07, 20.90, 7.17)
CIE-LCHlch(5.07, 22.10, 18.95°)
OKLaboklab(18.66% 0.0654 0.0323)
OKLCHoklch(18.66% 0.073 26.3)
XYZxyz(1.0607, 0.5617, 0.1100)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0102 #012C2B
analogous
#2C0118 #2C0102 #2C1601
triadic
#2C0102 #022C01 #01022C
tetradic
#2C0102 #182C01 #012C2B #16012C
square
#2C0102 #182C01 #012C2B #16012C
split-complementary
#2C0102 #012C16 #01182C
monochromatic
#1E0101 #1E0101 #2C0102 #680205 #A40407

Accessibility & contrast

On white

18.88
#2C0102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2C0102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0102
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0102#FFFFFF#000000##FFFFFF
##2C01021.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A02
Deuteranopia (green-blind)
#181501
Tritanopia (blue-blind)
#320002
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2c0102;
/* rgb */ color: rgb(44, 1, 2);
/* oklch */ color: oklch(18.7% 0.073 26.3);
Tailwind
colors: {
  custom: {
    50: '#684648',
    500: '#2c0102',
    950: '#000000',
  },
}
SCSS
$custom: #2c0102;
$custom-light: #684648;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0102",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.605,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18664,
    "c": 0.07289,
    "h": 26.3
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#2C0102
secondary
#177270
accent
#FFFA29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2C0102

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

Preview Lab → · Contrast checker → · Palette generator →

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