#2D071C#2D071C

#2D071C is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.068 H 350.4°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#2D071C
RGBrgb(45, 7, 28)
HSLhsl(327, 73%, 10%)
HSVhsv(327, 84%, 18%)
CMYKcmyk(0%, 84.4%, 37.8%, 82.4%)
CIE-LABlab(7.17, 21.75, -4.31)
CIE-LCHlch(7.17, 22.17, 348.80°)
OKLaboklab(20.84% 0.0667 -0.0113)
OKLCHoklch(20.84% 0.068 350.4)
XYZxyz(1.3678, 0.7938, 1.1796)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D071C #072D18
analogous
#2B072D #2D071C #2D0709
triadic
#2D071C #1C2D07 #071C2D
tetradic
#2D071C #2D2B07 #072D18 #07092D
square
#2D071C #2D2B07 #072D18 #07092D
split-complementary
#2D071C #092D07 #072D2B
monochromatic
#1A0410 #1A0410 #2D071C #620F3D #97175E

Accessibility & contrast

On white

18.12
#2D071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D071C
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D071C#FFFFFF#000000##FFFFFF
##2D071C1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121D
Deuteranopia (green-blind)
#17181B
Tritanopia (blue-blind)
#310510
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d071c;
/* rgb */ color: rgb(45, 7, 28);
/* oklch */ color: oklch(20.8% 0.068 350.4);
Tailwind
colors: {
  custom: {
    50: '#684a58',
    500: '#2d071c',
    950: '#000000',
  },
}
SCSS
$custom: #2d071c;
$custom-light: #684a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d071c",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 326.842,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20841,
    "c": 0.06769,
    "h": 350.4
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#2D071C
secondary
#236D44
accent
#F08A38
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D071C

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

Preview Lab → · Contrast checker → · Palette generator →

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