#2D0317#2D0317

#2D0317 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.073 H 355.9°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2D0317
RGBrgb(45, 3, 23)
HSLhsl(331, 88%, 9%)
HSVhsv(331, 93%, 18%)
CMYKcmyk(0%, 93.3%, 48.9%, 82.4%)
CIE-LABlab(6.19, 23.00, -1.86)
CIE-LCHlch(6.19, 23.07, 355.38°)
OKLaboklab(19.96% 0.0729 -0.0052)
OKLCHoklch(19.96% 0.073 355.9)
XYZxyz(1.2695, 0.6850, 0.8758)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0317 #032D19
analogous
#2D032C #2D0317 #2D0403
triadic
#2D0317 #172D03 #03172D
tetradic
#2D0317 #2C2D03 #032D19 #04032D
square
#2D0317 #2C2D03 #032D19 #04032D
split-complementary
#2D0317 #032D04 #032C2D
monochromatic
#1D020F #1D020F #2D0317 #660734 #A00B52

Accessibility & contrast

On white

18.47
#2D0317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2D0317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0317
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0317#FFFFFF#000000##FFFFFF
##2D03171.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0E18
Deuteranopia (green-blind)
#171716
Tritanopia (blue-blind)
#32000B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d0317;
/* rgb */ color: rgb(45, 3, 23);
/* oklch */ color: oklch(20.0% 0.073 355.9);
Tailwind
colors: {
  custom: {
    50: '#694753',
    500: '#2d0317',
    950: '#000000',
  },
}
SCSS
$custom: #2d0317;
$custom-light: #694753;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0317",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 331.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19956,
    "c": 0.07305,
    "h": 355.9
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#2D0317
secondary
#1B7148
accent
#FE992A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0317

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

Preview Lab → · Contrast checker → · Palette generator →

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