#2F0B17#2F0B17

#2F0B17 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.060 H 3.0°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2F0B17
RGBrgb(47, 11, 23)
HSLhsl(340, 62%, 11%)
HSVhsv(340, 77%, 18%)
CMYKcmyk(0%, 76.6%, 51.1%, 81.6%)
CIE-LABlab(8.18, 19.69, 1.10)
CIE-LCHlch(8.18, 19.72, 3.20°)
OKLaboklab(21.63% 0.0601 0.0031)
OKLCHoklch(21.63% 0.06 3)
XYZxyz(1.4467, 0.9057, 0.9091)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B17 #0B2F23
analogous
#2F0B29 #2F0B17 #2F110B
triadic
#2F0B17 #172F0B #0B172F
tetradic
#2F0B17 #292F0B #0B2F23 #110B2F
square
#2F0B17 #292F0B #0B2F23 #110B2F
split-complementary
#2F0B17 #0B2F11 #0B292F
monochromatic
#19060C #19060C #2F0B17 #61172F #922248

Accessibility & contrast

On white

17.78
#2F0B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B17
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B17#FFFFFF#000000##FFFFFF
##2F0B171.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121317
Deuteranopia (green-blind)
#1C1A16
Tritanopia (blue-blind)
#340710
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0b17;
/* rgb */ color: rgb(47, 11, 23);
/* oklch */ color: oklch(21.6% 0.060 3.0);
Tailwind
colors: {
  custom: {
    50: '#6a4c53',
    500: '#2f0b17',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b17;
$custom-light: #6a4c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b17",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 23
  },
  "hsl": {
    "h": 340,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21625,
    "c": 0.0602,
    "h": 3
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2F0B17
secondary
#2A6B56
accent
#E5AF43
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0B17

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

Preview Lab → · Contrast checker → · Palette generator →

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