#2D0118#2D0118

#2D0118 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.7% C 0.078 H 353.4°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2D0118
RGBrgb(45, 1, 24)
HSLhsl(329, 96%, 9%)
HSVhsv(329, 98%, 18%)
CMYKcmyk(0%, 97.8%, 46.7%, 82.4%)
CIE-LABlab(5.83, 24.17, -3.14)
CIE-LCHlch(5.83, 24.37, 352.60°)
OKLaboklab(19.66% 0.0776 -0.009)
OKLCHoklch(19.66% 0.078 353.4)
XYZxyz(1.2580, 0.6457, 0.9224)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0118 #012D16
analogous
#2C012D #2D0118 #2D0102
triadic
#2D0118 #182D01 #01182D
tetradic
#2D0118 #2D2C01 #012D16 #01022D
square
#2D0118 #2D2C01 #012D16 #01022D
split-complementary
#2D0118 #022D01 #012D2C
monochromatic
#1E0110 #1E0110 #2D0118 #690238 #A50458

Accessibility & contrast

On white

18.60
#2D0118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2D0118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0118
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0118#FFFFFF#000000##FFFFFF
##2D01181.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D19
Deuteranopia (green-blind)
#161617
Tritanopia (blue-blind)
#31000A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d0118;
/* rgb */ color: rgb(45, 1, 24);
/* oklch */ color: oklch(19.7% 0.078 353.4);
Tailwind
colors: {
  custom: {
    50: '#694654',
    500: '#2d0118',
    950: '#000000',
  },
}
SCSS
$custom: #2d0118;
$custom-light: #694654;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0118",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 328.636,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19659,
    "c": 0.07811,
    "h": 353.4
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#2D0118
secondary
#177343
accent
#FF8F29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0118

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

Preview Lab → · Contrast checker → · Palette generator →

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