#2D0412#2D0412

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

Color values

HEX#2D0412
RGBrgb(45, 4, 18)
HSLhsl(340, 84%, 10%)
HSVhsv(340, 91%, 18%)
CMYKcmyk(0%, 91.1%, 60%, 82.4%)
CIE-LABlab(6.22, 21.77, 1.57)
CIE-LCHlch(6.22, 21.82, 4.13°)
OKLaboklab(19.92% 0.0686 0.0052)
OKLCHoklch(19.92% 0.069 4.3)
XYZxyz(1.2349, 0.6886, 0.6400)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0412 #042D1F
analogous
#2D0427 #2D0412 #2D0B04
triadic
#2D0412 #122D04 #04122D
tetradic
#2D0412 #272D04 #042D1F #0B042D
square
#2D0412 #272D04 #042D1F #0B042D
split-complementary
#2D0412 #042D0B #04272D
monochromatic
#1C020B #1C020B #2D0412 #650928 #9D0E3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0412#FFFFFF#000000##FFFFFF
##2D04121.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)
#0D0E12
Deuteranopia (green-blind)
#181711
Tritanopia (blue-blind)
#320009
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d0412;
/* rgb */ color: rgb(45, 4, 18);
/* oklch */ color: oklch(19.9% 0.069 4.3);
Tailwind
colors: {
  custom: {
    50: '#694850',
    500: '#2d0412',
    950: '#000000',
  },
}
SCSS
$custom: #2d0412;
$custom-light: #694850;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0412",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 339.512,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1992,
    "c": 0.06884,
    "h": 4.3
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2D0412
secondary
#1D7053
accent
#FAB42E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2D0412

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

Preview Lab → · Contrast checker → · Palette generator →

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