#2F041A#2F041A

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

Color values

HEX#2F041A
RGBrgb(47, 4, 26)
HSLhsl(329, 84%, 10%)
HSVhsv(329, 91%, 18%)
CMYKcmyk(0%, 91.5%, 44.7%, 81.6%)
CIE-LABlab(6.92, 23.85, -3.07)
CIE-LCHlch(6.92, 24.04, 352.66°)
OKLaboklab(20.7% 0.074 -0.0081)
OKLCHoklch(20.7% 0.074 353.8)
XYZxyz(1.4023, 0.7659, 1.0511)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F041A #042F19
analogous
#2E042F #2F041A #2F0405
triadic
#2F041A #1A2F04 #041A2F
tetradic
#2F041A #2F2E04 #042F19 #04052F
square
#2F041A #2F2E04 #042F19 #04052F
split-complementary
#2F041A #052F04 #042F2E
monochromatic
#1C0210 #1C0210 #2F041A #670939 #A00E58

Accessibility & contrast

On white

18.21
#2F041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F041A
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F041A#FFFFFF#000000##FFFFFF
##2F041A1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101B
Deuteranopia (green-blind)
#181819
Tritanopia (blue-blind)
#34010D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f041a;
/* rgb */ color: rgb(47, 4, 26);
/* oklch */ color: oklch(20.7% 0.074 353.8);
Tailwind
colors: {
  custom: {
    50: '#6a4856',
    500: '#2f041a',
    950: '#000000',
  },
}
SCSS
$custom: #2f041a;
$custom-light: #6a4856;
$custom-dark: #000000;
JSON
{
  "hex": "#2f041a",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 329.302,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20695,
    "c": 0.07441,
    "h": 353.8
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#2F041A
secondary
#1D7246
accent
#FB922D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F041A

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

Preview Lab → · Contrast checker → · Palette generator →

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