#2F0516#2F0516

#2F0516 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.070 H 0.3°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#2F0516
RGBrgb(47, 5, 22)
HSLhsl(336, 81%, 10%)
HSVhsv(336, 89%, 18%)
CMYKcmyk(0%, 89.4%, 53.2%, 81.6%)
CIE-LABlab(6.96, 22.74, 0.06)
CIE-LCHlch(6.96, 22.74, 0.14°)
OKLaboklab(20.68% 0.0705 0.0004)
OKLCHoklch(20.68% 0.07 0.3)
XYZxyz(1.3715, 0.7710, 0.8355)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0516 #052F1E
analogous
#2F052B #2F0516 #2F0905
triadic
#2F0516 #162F05 #05162F
tetradic
#2F0516 #2B2F05 #052F1E #09052F
square
#2F0516 #2B2F05 #052F1E #09052F
split-complementary
#2F0516 #052F09 #052B2F
monochromatic
#1C030D #1C030D #2F0516 #660B30 #9E114A

Accessibility & contrast

On white

18.19
#2F0516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0516
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0516#FFFFFF#000000##FFFFFF
##2F05161.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1016
Deuteranopia (green-blind)
#191815
Tritanopia (blue-blind)
#34010C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0516;
/* rgb */ color: rgb(47, 5, 22);
/* oklch */ color: oklch(20.7% 0.070 0.3);
Tailwind
colors: {
  custom: {
    50: '#6a4952',
    500: '#2f0516',
    950: '#000000',
  },
}
SCSS
$custom: #2f0516;
$custom-light: #6a4952;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0516",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 22
  },
  "hsl": {
    "h": 335.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20678,
    "c": 0.07046,
    "h": 0.3
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#2F0516
secondary
#1F7150
accent
#F7A731
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0516

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

Preview Lab → · Contrast checker → · Palette generator →

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