#2D0718#2D0718

#2D0718 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.065 H 356.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2D0718
RGBrgb(45, 7, 24)
HSLhsl(333, 73%, 10%)
HSVhsv(333, 84%, 18%)
CMYKcmyk(0%, 84.4%, 46.7%, 82.4%)
CIE-LABlab(7.01, 21.10, -1.42)
CIE-LCHlch(7.01, 21.15, 356.15°)
OKLaboklab(20.66% 0.0653 -0.0036)
OKLCHoklch(20.66% 0.065 356.8)
XYZxyz(1.3231, 0.7760, 0.9441)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0718 #072D1C
analogous
#2D072B #2D0718 #2D0907
triadic
#2D0718 #182D07 #07182D
tetradic
#2D0718 #2B2D07 #072D1C #09072D
square
#2D0718 #2B2D07 #072D1C #09072D
split-complementary
#2D0718 #072D09 #072B2D
monochromatic
#1A040E #1A040E #2D0718 #620F34 #971750

Accessibility & contrast

On white

18.18
#2D0718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0718
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0718#FFFFFF#000000##FFFFFF
##2D07181.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1118
Deuteranopia (green-blind)
#181817
Tritanopia (blue-blind)
#31040E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2d0718;
/* rgb */ color: rgb(45, 7, 24);
/* oklch */ color: oklch(20.7% 0.065 356.8);
Tailwind
colors: {
  custom: {
    50: '#684a54',
    500: '#2d0718',
    950: '#000000',
  },
}
SCSS
$custom: #2d0718;
$custom-light: #684a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0718",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 333.158,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20655,
    "c": 0.06535,
    "h": 356.8
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#2D0718
secondary
#236D4C
accent
#F09E38
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2D0718

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

Preview Lab → · Contrast checker → · Palette generator →

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