#2D081F#2D081F

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

Color values

HEX#2D081F
RGBrgb(45, 8, 31)
HSLhsl(323, 70%, 10%)
HSVhsv(323, 82%, 18%)
CMYKcmyk(0%, 82.2%, 31.1%, 82.4%)
CIE-LABlab(7.50, 21.74, -6.13)
CIE-LCHlch(7.50, 22.58, 344.25°)
OKLaboklab(21.15% 0.0659 -0.0163)
OKLCHoklch(21.15% 0.068 346.1)
XYZxyz(1.4164, 0.8306, 1.3818)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D081F #082D16
analogous
#28082D #2D081F #2D080C
triadic
#2D081F #1F2D08 #081F2D
tetradic
#2D081F #2D2808 #082D16 #080C2D
square
#2D081F #2D2808 #082D16 #080C2D
split-complementary
#2D081F #0C2D08 #082D28
monochromatic
#1A0512 #1A0512 #2D081F #611143 #951A67

Accessibility & contrast

On white

18.01
#2D081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D081F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D081F#FFFFFF#000000##FFFFFF
##2D081F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1220
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#310712
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d081f;
/* rgb */ color: rgb(45, 8, 31);
/* oklch */ color: oklch(21.1% 0.068 346.1);
Tailwind
colors: {
  custom: {
    50: '#684a5a',
    500: '#2d081f',
    950: '#000000',
  },
}
SCSS
$custom: #2d081f;
$custom-light: #684a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d081f",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 322.703,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21147,
    "c": 0.06786,
    "h": 346.1
  },
  "luminance": 0.0083
}

Semantic roles & 50–950 ramp

primary
#2D081F
secondary
#256C40
accent
#ED7E3B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D081F

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

Preview Lab → · Contrast checker → · Palette generator →

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