#2D0311#2D0311

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

Color values

HEX#2D0311
RGBrgb(45, 3, 17)
HSLhsl(340, 88%, 9%)
HSVhsv(340, 93%, 18%)
CMYKcmyk(0%, 93.3%, 62.2%, 82.4%)
CIE-LABlab(6.00, 22.13, 1.84)
CIE-LCHlch(6.00, 22.21, 4.74°)
OKLaboklab(19.71% 0.0703 0.0062)
OKLCHoklch(19.71% 0.071 5.1)
XYZxyz(1.2160, 0.6637, 0.5943)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0311 #032D1F
analogous
#2D0326 #2D0311 #2D0A03
triadic
#2D0311 #112D03 #03112D
tetradic
#2D0311 #262D03 #032D1F #0A032D
square
#2D0311 #262D03 #032D1F #0A032D
split-complementary
#2D0311 #032D0A #03262D
monochromatic
#1D020B #1D020B #2D0311 #660727 #A00B3C

Accessibility & contrast

On white

18.54
#2D0311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2D0311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0311
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0311#FFFFFF#000000##FFFFFF
##2D03111.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E11
Deuteranopia (green-blind)
#181610
Tritanopia (blue-blind)
#320008
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d0311;
/* rgb */ color: rgb(45, 3, 17);
/* oklch */ color: oklch(19.7% 0.071 5.1);
Tailwind
colors: {
  custom: {
    50: '#69474f',
    500: '#2d0311',
    950: '#000000',
  },
}
SCSS
$custom: #2d0311;
$custom-light: #69474f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0311",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 17
  },
  "hsl": {
    "h": 340,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19711,
    "c": 0.07061,
    "h": 5.1
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2D0311
secondary
#1B7154
accent
#FEB72A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D0311

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

Preview Lab → · Contrast checker → · Palette generator →

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