#2C0417#2C0417

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

Color values

HEX#2C0417
RGBrgb(44, 4, 23)
HSLhsl(332, 83%, 9%)
HSVhsv(332, 91%, 17%)
CMYKcmyk(0%, 90.9%, 47.7%, 82.7%)
CIE-LABlab(6.18, 22.00, -1.89)
CIE-LCHlch(6.18, 22.08, 355.08°)
OKLaboklab(19.91% 0.0697 -0.0053)
OKLCHoklch(19.91% 0.07 355.6)
XYZxyz(1.2369, 0.6843, 0.8774)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0417 #042C19
analogous
#2C042B #2C0417 #2C0504
triadic
#2C0417 #172C04 #04172C
tetradic
#2C0417 #2B2C04 #042C19 #05042C
square
#2C0417 #2B2C04 #042C19 #05042C
split-complementary
#2C0417 #042C05 #042B2C
monochromatic
#1C030F #1C030F #2C0417 #640934 #9C0E52

Accessibility & contrast

On white

18.47
#2C0417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0417
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0417#FFFFFF#000000##FFFFFF
##2C04171.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F18
Deuteranopia (green-blind)
#171616
Tritanopia (blue-blind)
#30010C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0417;
/* rgb */ color: rgb(44, 4, 23);
/* oklch */ color: oklch(19.9% 0.070 355.6);
Tailwind
colors: {
  custom: {
    50: '#684853',
    500: '#2c0417',
    950: '#000000',
  },
}
SCSS
$custom: #2c0417;
$custom-light: #684853;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0417",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 331.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19907,
    "c": 0.0699,
    "h": 355.6
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#2C0417
secondary
#1D6F48
accent
#FA992E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0417

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

Preview Lab → · Contrast checker → · Palette generator →

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