#2D081C#2D081C

#2D081C is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.066 H 350.8°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#2D081C
RGBrgb(45, 8, 28)
HSLhsl(328, 70%, 10%)
HSVhsv(328, 82%, 18%)
CMYKcmyk(0%, 82.2%, 37.8%, 82.4%)
CIE-LABlab(7.37, 21.22, -4.01)
CIE-LCHlch(7.37, 21.60, 349.29°)
OKLaboklab(21% 0.0649 -0.0105)
OKLCHoklch(21% 0.066 350.8)
XYZxyz(1.3787, 0.8155, 1.1832)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D081C #082D19
analogous
#2B082D #2D081C #2D0809
triadic
#2D081C #1C2D08 #081C2D
tetradic
#2D081C #2D2B08 #082D19 #08092D
square
#2D081C #2D2B08 #082D19 #08092D
split-complementary
#2D081C #092D08 #082D2B
monochromatic
#1A0510 #1A0510 #2D081C #61113C #951A5D

Accessibility & contrast

On white

18.06
#2D081C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D081C
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D081C#FFFFFF#000000##FFFFFF
##2D081C1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d081c;
/* rgb */ color: rgb(45, 8, 28);
/* oklch */ color: oklch(21.0% 0.066 350.8);
Tailwind
colors: {
  custom: {
    50: '#684a58',
    500: '#2d081c',
    950: '#000000',
  },
}
SCSS
$custom: #2d081c;
$custom-light: #684a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d081c",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 28
  },
  "hsl": {
    "h": 327.568,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20995,
    "c": 0.06576,
    "h": 350.8
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#2D081C
secondary
#256C46
accent
#ED8D3B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D081C

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

Preview Lab → · Contrast checker → · Palette generator →

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