#2C0512#2C0512

#2C0512 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.066 H 4.5°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#2C0512
RGBrgb(44, 5, 18)
HSLhsl(340, 80%, 10%)
HSVhsv(340, 89%, 17%)
CMYKcmyk(0%, 88.6%, 59.1%, 82.7%)
CIE-LABlab(6.21, 20.76, 1.53)
CIE-LCHlch(6.21, 20.81, 4.23°)
OKLaboklab(19.87% 0.0655 0.0051)
OKLCHoklch(19.87% 0.066 4.5)
XYZxyz(1.2023, 0.6878, 0.6416)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0512 #052C1F
analogous
#2C0526 #2C0512 #2C0C05
triadic
#2C0512 #122C05 #05122C
tetradic
#2C0512 #262C05 #052C1F #0C052C
square
#2C0512 #262C05 #052C1F #0C052C
split-complementary
#2C0512 #052C0C #05262C
monochromatic
#1B030B #1B030B #2C0512 #630B28 #9A113F

Accessibility & contrast

On white

18.46
#2C0512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2C0512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0512
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0512#FFFFFF#000000##FFFFFF
##2C05121.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0F12
Deuteranopia (green-blind)
#181711
Tritanopia (blue-blind)
#31010A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0512;
/* rgb */ color: rgb(44, 5, 18);
/* oklch */ color: oklch(19.9% 0.066 4.5);
Tailwind
colors: {
  custom: {
    50: '#684850',
    500: '#2c0512',
    950: '#000000',
  },
}
SCSS
$custom: #2c0512;
$custom-light: #684850;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0512",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 340,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19871,
    "c": 0.06569,
    "h": 4.5
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2C0512
secondary
#1F6E53
accent
#F6B532
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2C0512

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

Preview Lab → · Contrast checker → · Palette generator →

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