#2C0118#2C0118

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

Color values

HEX#2C0118
RGBrgb(44, 1, 24)
HSLhsl(328, 96%, 9%)
HSVhsv(328, 98%, 17%)
CMYKcmyk(0%, 97.7%, 45.5%, 82.7%)
CIE-LABlab(5.63, 23.66, -3.46)
CIE-LCHlch(5.63, 23.91, 351.69°)
OKLaboklab(19.43% 0.0767 -0.0101)
OKLCHoklch(19.43% 0.077 352.5)
XYZxyz(1.2145, 0.6233, 0.9203)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0118 #012C15
analogous
#2B012C #2C0118 #2C0103
triadic
#2C0118 #182C01 #01182C
tetradic
#2C0118 #2C2B01 #012C15 #01032C
square
#2C0118 #2C2B01 #012C15 #01032C
split-complementary
#2C0118 #032C01 #012C2B
monochromatic
#1E0110 #1E0110 #2C0118 #680239 #A40459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0118#FFFFFF#000000##FFFFFF
##2C01181.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)
#080D19
Deuteranopia (green-blind)
#151517
Tritanopia (blue-blind)
#30000A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2c0118;
/* rgb */ color: rgb(44, 1, 24);
/* oklch */ color: oklch(19.4% 0.077 352.5);
Tailwind
colors: {
  custom: {
    50: '#684654',
    500: '#2c0118',
    950: '#000000',
  },
}
SCSS
$custom: #2c0118;
$custom-light: #684654;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0118",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 327.907,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19431,
    "c": 0.07732,
    "h": 352.5
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2C0118
secondary
#177241
accent
#FF8C29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0118

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

Preview Lab → · Contrast checker → · Palette generator →

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