#2D0418#2D0418

#2D0418 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.071 H 355.0°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#2D0418
RGBrgb(45, 4, 24)
HSLhsl(331, 84%, 10%)
HSVhsv(331, 91%, 18%)
CMYKcmyk(0%, 91.1%, 46.7%, 82.4%)
CIE-LABlab(6.42, 22.64, -2.28)
CIE-LCHlch(6.42, 22.76, 354.26°)
OKLaboklab(20.17% 0.0711 -0.0062)
OKLCHoklch(20.17% 0.071 355)
XYZxyz(1.2906, 0.7108, 0.9332)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0418 #042D19
analogous
#2D042D #2D0418 #2D0504
triadic
#2D0418 #182D04 #04182D
tetradic
#2D0418 #2D2D04 #042D19 #05042D
square
#2D0418 #2D2D04 #042D19 #05042D
split-complementary
#2D0418 #042D05 #042D2D
monochromatic
#1C020F #1C020F #2D0418 #650936 #9D0E54

Accessibility & contrast

On white

18.39
#2D0418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0418
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0418#FFFFFF#000000##FFFFFF
##2D04181.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#171717
Tritanopia (blue-blind)
#31010C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d0418;
/* rgb */ color: rgb(45, 4, 24);
/* oklch */ color: oklch(20.2% 0.071 355.0);
Tailwind
colors: {
  custom: {
    50: '#684854',
    500: '#2d0418',
    950: '#000000',
  },
}
SCSS
$custom: #2d0418;
$custom-light: #684854;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0418",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 330.732,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2017,
    "c": 0.07141,
    "h": 355
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#2D0418
secondary
#1D7047
accent
#FA962E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0418

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

Preview Lab → · Contrast checker → · Palette generator →

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