#2C0817#2C0817

#2C0817 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.062 H 358.3°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#2C0817
RGBrgb(44, 8, 23)
HSLhsl(335, 69%, 10%)
HSVhsv(335, 82%, 17%)
CMYKcmyk(0%, 81.8%, 47.7%, 82.7%)
CIE-LABlab(6.97, 19.98, -0.75)
CIE-LCHlch(6.97, 19.99, 357.86°)
OKLaboklab(20.57% 0.0618 -0.0018)
OKLCHoklch(20.57% 0.062 358.3)
XYZxyz(1.2803, 0.7712, 0.8919)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0817 #082C1D
analogous
#2C0829 #2C0817 #2C0B08
triadic
#2C0817 #172C08 #08172C
tetradic
#2C0817 #292C08 #082C1D #0B082C
square
#2C0817 #292C08 #082C1D #0B082C
split-complementary
#2C0817 #082C0B #08292C
monochromatic
#1A050E #1A050E #2C0817 #601132 #941B4D

Accessibility & contrast

On white

18.19
#2C0817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C0817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0817
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0817#FFFFFF#000000##FFFFFF
##2C08171.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1117
Deuteranopia (green-blind)
#181816
Tritanopia (blue-blind)
#30050E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0817;
/* rgb */ color: rgb(44, 8, 23);
/* oklch */ color: oklch(20.6% 0.062 358.3);
Tailwind
colors: {
  custom: {
    50: '#674a53',
    500: '#2c0817',
    950: '#000000',
  },
}
SCSS
$custom: #2c0817;
$custom-light: #674a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0817",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 23
  },
  "hsl": {
    "h": 335,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20565,
    "c": 0.06181,
    "h": 358.3
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#2C0817
secondary
#256B4E
accent
#ECA33C
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2C0817

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

Preview Lab → · Contrast checker → · Palette generator →

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