#2D071E#2D071E

#2D071E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 347.3°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2D071E
RGBrgb(45, 7, 30)
HSLhsl(324, 73%, 10%)
HSVhsv(324, 84%, 18%)
CMYKcmyk(0%, 84.4%, 33.3%, 82.4%)
CIE-LABlab(7.26, 22.09, -5.72)
CIE-LCHlch(7.26, 22.82, 345.48°)
OKLaboklab(20.94% 0.0674 -0.0152)
OKLCHoklch(20.94% 0.069 347.3)
XYZxyz(1.3926, 0.8037, 1.3098)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D071E #072D16
analogous
#29072D #2D071E #2D070B
triadic
#2D071E #1E2D07 #071E2D
tetradic
#2D071E #2D2907 #072D16 #070B2D
square
#2D071E #2D2907 #072D16 #070B2D
split-complementary
#2D071E #0B2D07 #072D29
monochromatic
#1A0412 #1A0412 #2D071E #620F41 #971765

Accessibility & contrast

On white

18.09
#2D071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2D071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D071E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D071E#FFFFFF#000000##FFFFFF
##2D071E1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C121F
Deuteranopia (green-blind)
#17181D
Tritanopia (blue-blind)
#310611
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d071e;
/* rgb */ color: rgb(45, 7, 30);
/* oklch */ color: oklch(20.9% 0.069 347.3);
Tailwind
colors: {
  custom: {
    50: '#684a59',
    500: '#2d071e',
    950: '#000000',
  },
}
SCSS
$custom: #2d071e;
$custom-light: #684a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d071e",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 323.684,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20943,
    "c": 0.06906,
    "h": 347.3
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#2D071E
secondary
#236D40
accent
#F08138
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D071E

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

Preview Lab → · Contrast checker → · Palette generator →

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