#2F041E#2F041E

#2F041E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.077 H 348.1°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2F041E
RGBrgb(47, 4, 30)
HSLhsl(324, 84%, 10%)
HSVhsv(324, 91%, 18%)
CMYKcmyk(0%, 91.5%, 36.2%, 81.6%)
CIE-LABlab(7.09, 24.48, -5.94)
CIE-LCHlch(7.09, 25.19, 346.37°)
OKLaboklab(20.9% 0.0752 -0.0158)
OKLCHoklch(20.9% 0.077 348.1)
XYZxyz(1.4501, 0.7851, 1.3032)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F041E #042F15
analogous
#2B042F #2F041E #2F0408
triadic
#2F041E #1E2F04 #041E2F
tetradic
#2F041E #2F2B04 #042F15 #04082F
square
#2F041E #2F2B04 #042F15 #04082F
split-complementary
#2F041E #082F04 #042F2B
monochromatic
#1C0212 #1C0212 #2F041E #670942 #A00E66

Accessibility & contrast

On white

18.15
#2F041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F041E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F041E#FFFFFF#000000##FFFFFF
##2F041E1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A111F
Deuteranopia (green-blind)
#17181D
Tritanopia (blue-blind)
#33030F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f041e;
/* rgb */ color: rgb(47, 4, 30);
/* oklch */ color: oklch(20.9% 0.077 348.1);
Tailwind
colors: {
  custom: {
    50: '#6a4859',
    500: '#2f041e',
    950: '#000000',
  },
}
SCSS
$custom: #2f041e;
$custom-light: #6a4859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f041e",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 323.721,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20895,
    "c": 0.07686,
    "h": 348.1
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#2F041E
secondary
#1D723F
accent
#FB7E2D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F041E

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

Preview Lab → · Contrast checker → · Palette generator →

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