#2C0717#2C0717

#2C0717 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.064 H 357.6°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#2C0717
RGBrgb(44, 7, 23)
HSLhsl(334, 73%, 10%)
HSVhsv(334, 84%, 17%)
CMYKcmyk(0%, 84.1%, 47.7%, 82.7%)
CIE-LABlab(6.77, 20.49, -1.03)
CIE-LCHlch(6.77, 20.51, 357.11°)
OKLaboklab(20.41% 0.0637 -0.0027)
OKLCHoklch(20.41% 0.064 357.6)
XYZxyz(1.2694, 0.7494, 0.8883)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0717 #072C1C
analogous
#2C072A #2C0717 #2C0907
triadic
#2C0717 #172C07 #07172C
tetradic
#2C0717 #2A2C07 #072C1C #09072C
square
#2C0717 #2A2C07 #072C1C #09072C
split-complementary
#2C0717 #072C09 #072A2C
monochromatic
#1A040E #1A040E #2C0717 #610F33 #96184E

Accessibility & contrast

On white

18.26
#2C0717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0717
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0717#FFFFFF#000000##FFFFFF
##2C07171.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1117
Deuteranopia (green-blind)
#181816
Tritanopia (blue-blind)
#30040D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0717;
/* rgb */ color: rgb(44, 7, 23);
/* oklch */ color: oklch(20.4% 0.064 357.6);
Tailwind
colors: {
  custom: {
    50: '#674a53',
    500: '#2c0717',
    950: '#000000',
  },
}
SCSS
$custom: #2c0717;
$custom-light: #674a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0717",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 334.054,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20405,
    "c": 0.06373,
    "h": 357.6
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#2C0717
secondary
#236C4C
accent
#EFA039
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2C0717

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

Preview Lab → · Contrast checker → · Palette generator →

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