#2D0918#2D0918

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

Color values

HEX#2D0918
RGBrgb(45, 9, 24)
HSLhsl(335, 67%, 11%)
HSVhsv(335, 80%, 18%)
CMYKcmyk(0%, 80%, 46.7%, 82.4%)
CIE-LABlab(7.40, 20.06, -0.85)
CIE-LCHlch(7.40, 20.08, 357.59°)
OKLaboklab(20.97% 0.0616 -0.002)
OKLCHoklch(20.97% 0.062 358.1)
XYZxyz(1.3448, 0.8194, 0.9513)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0918 #092D1E
analogous
#2D092A #2D0918 #2D0C09
triadic
#2D0918 #182D09 #09182D
tetradic
#2D0918 #2A2D09 #092D1E #0C092D
square
#2D0918 #2A2D09 #092D1E #0C092D
split-complementary
#2D0918 #092D0C #092A2D
monochromatic
#1A050E #1A050E #2D0918 #601333 #931D4E

Accessibility & contrast

On white

18.04
#2D0918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0918
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0918#FFFFFF#000000##FFFFFF
##2D09181.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101218
Deuteranopia (green-blind)
#191917
Tritanopia (blue-blind)
#31060F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d0918;
/* rgb */ color: rgb(45, 9, 24);
/* oklch */ color: oklch(21.0% 0.062 358.1);
Tailwind
colors: {
  custom: {
    50: '#684b54',
    500: '#2d0918',
    950: '#000000',
  },
}
SCSS
$custom: #2d0918;
$custom-light: #684b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0918",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 24
  },
  "hsl": {
    "h": 335,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20966,
    "c": 0.06162,
    "h": 358.1
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#2D0918
secondary
#276B4F
accent
#EAA23E
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2D0918

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

Preview Lab → · Contrast checker → · Palette generator →

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