#2D0117#2D0117

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

Color values

HEX#2D0117
RGBrgb(45, 1, 23)
HSLhsl(330, 96%, 9%)
HSVhsv(330, 98%, 18%)
CMYKcmyk(0%, 97.8%, 48.9%, 82.4%)
CIE-LABlab(5.80, 24.01, -2.43)
CIE-LCHlch(5.80, 24.13, 354.22°)
OKLaboklab(19.61% 0.0773 -0.0071)
OKLCHoklch(19.61% 0.078 354.8)
XYZxyz(1.2478, 0.6416, 0.8686)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0117 #012D17
analogous
#2D012D #2D0117 #2D0101
triadic
#2D0117 #172D01 #01172D
tetradic
#2D0117 #2D2D01 #012D17 #01012D
square
#2D0117 #2D2D01 #012D17 #01012D
split-complementary
#2D0117 #012D01 #012D2D
monochromatic
#1E010F #1E010F #2D0117 #690236 #A50454

Accessibility & contrast

On white

18.61
#2D0117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0117
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0117#FFFFFF#000000##FFFFFF
##2D01171.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D18
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#32000A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d0117;
/* rgb */ color: rgb(45, 1, 23);
/* oklch */ color: oklch(19.6% 0.078 354.8);
Tailwind
colors: {
  custom: {
    50: '#694653',
    500: '#2d0117',
    950: '#000000',
  },
}
SCSS
$custom: #2d0117;
$custom-light: #694653;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0117",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 330,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.07757,
    "h": 354.8
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2D0117
secondary
#177345
accent
#FF9429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0117

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

Preview Lab → · Contrast checker → · Palette generator →

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