#2C0418#2C0418

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

Color values

HEX#2C0418
RGBrgb(44, 4, 24)
HSLhsl(330, 83%, 9%)
HSVhsv(330, 91%, 17%)
CMYKcmyk(0%, 90.9%, 45.5%, 82.7%)
CIE-LABlab(6.22, 22.16, -2.60)
CIE-LCHlch(6.22, 22.31, 353.31°)
OKLaboklab(19.95% 0.0701 -0.0073)
OKLCHoklch(19.95% 0.07 354.1)
XYZxyz(1.2471, 0.6884, 0.9312)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0418 #042C18
analogous
#2C042C #2C0418 #2C0404
triadic
#2C0418 #182C04 #04182C
tetradic
#2C0418 #2C2C04 #042C18 #04042C
square
#2C0418 #2C2C04 #042C18 #04042C
split-complementary
#2C0418 #042C04 #042C2C
monochromatic
#1C030F #1C030F #2C0418 #640937 #9C0E55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0418#FFFFFF#000000##FFFFFF
##2C04181.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)
#0B0F19
Deuteranopia (green-blind)
#161717
Tritanopia (blue-blind)
#30020C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0418;
/* rgb */ color: rgb(44, 4, 24);
/* oklch */ color: oklch(20.0% 0.070 354.1);
Tailwind
colors: {
  custom: {
    50: '#674854',
    500: '#2c0418',
    950: '#000000',
  },
}
SCSS
$custom: #2c0418;
$custom-light: #674854;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0418",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 330,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19953,
    "c": 0.07045,
    "h": 354.1
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2C0418
secondary
#1D6F46
accent
#FA942E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0418

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

Preview Lab → · Contrast checker → · Palette generator →

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