#2F0816#2F0816

#2F0816 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.065 H 2.4°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2F0816
RGBrgb(47, 8, 22)
HSLhsl(338, 71%, 11%)
HSVhsv(338, 83%, 18%)
CMYKcmyk(0%, 83%, 53.2%, 81.6%)
CIE-LABlab(7.55, 21.16, 0.92)
CIE-LCHlch(7.55, 21.18, 2.48°)
OKLaboklab(21.14% 0.0649 0.0028)
OKLCHoklch(21.14% 0.065 2.4)
XYZxyz(1.4040, 0.8361, 0.8463)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0816 #082F21
analogous
#2F0829 #2F0816 #2F0D08
triadic
#2F0816 #162F08 #08162F
tetradic
#2F0816 #292F08 #082F21 #0D082F
square
#2F0816 #292F08 #082F21 #0D082F
split-complementary
#2F0816 #082F0D #08292F
monochromatic
#1A040C #1A040C #2F0816 #63112E #981A47

Accessibility & contrast

On white

17.99
#2F0816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0816
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0816#FFFFFF#000000##FFFFFF
##2F08161.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101216
Deuteranopia (green-blind)
#1B1915
Tritanopia (blue-blind)
#34040E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0816;
/* rgb */ color: rgb(47, 8, 22);
/* oklch */ color: oklch(21.1% 0.065 2.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a52',
    500: '#2f0816',
    950: '#000000',
  },
}
SCSS
$custom: #2f0816;
$custom-light: #6a4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0816",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 22
  },
  "hsl": {
    "h": 338.462,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21141,
    "c": 0.06493,
    "h": 2.4
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#2F0816
secondary
#256E54
accent
#EEAD3A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0816

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

Preview Lab → · Contrast checker → · Palette generator →

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