#2F0716#2F0716

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

Color values

HEX#2F0716
RGBrgb(47, 7, 22)
HSLhsl(338, 74%, 11%)
HSVhsv(338, 85%, 18%)
CMYKcmyk(0%, 85.1%, 53.2%, 81.6%)
CIE-LABlab(7.36, 21.69, 0.63)
CIE-LCHlch(7.36, 21.70, 1.66°)
OKLaboklab(20.99% 0.0667 0.002)
OKLCHoklch(20.99% 0.067 1.7)
XYZxyz(1.3932, 0.8144, 0.8427)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0716 #072F20
analogous
#2F072A #2F0716 #2F0C07
triadic
#2F0716 #162F07 #07162F
tetradic
#2F0716 #2A2F07 #072F20 #0C072F
square
#2F0716 #2A2F07 #072F20 #0C072F
split-complementary
#2F0716 #072F0C #072A2F
monochromatic
#1B040C #1B040C #2F0716 #640F2F #9A1748

Accessibility & contrast

On white

18.06
#2F0716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0716
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0716#FFFFFF#000000##FFFFFF
##2F07161.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1116
Deuteranopia (green-blind)
#1A1915
Tritanopia (blue-blind)
#34030D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0716;
/* rgb */ color: rgb(47, 7, 22);
/* oklch */ color: oklch(21.0% 0.067 1.7);
Tailwind
colors: {
  custom: {
    50: '#6a4a52',
    500: '#2f0716',
    950: '#000000',
  },
}
SCSS
$custom: #2f0716;
$custom-light: #6a4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0716",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 22
  },
  "hsl": {
    "h": 337.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20989,
    "c": 0.06671,
    "h": 1.7
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#2F0716
secondary
#236F52
accent
#F1AB37
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0716

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

Preview Lab → · Contrast checker → · Palette generator →

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