#2F041D#2F041D

#2F041D is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.076 H 349.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#2F041D
RGBrgb(47, 4, 29)
HSLhsl(325, 84%, 10%)
HSVhsv(325, 91%, 18%)
CMYKcmyk(0%, 91.5%, 38.3%, 81.6%)
CIE-LABlab(7.05, 24.32, -5.23)
CIE-LCHlch(7.05, 24.87, 347.87°)
OKLaboklab(20.84% 0.0749 -0.0138)
OKLCHoklch(20.84% 0.076 349.5)
XYZxyz(1.4376, 0.7800, 1.2370)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F041D #042F16
analogous
#2B042F #2F041D #2F0408
triadic
#2F041D #1D2F04 #041D2F
tetradic
#2F041D #2F2B04 #042F16 #04082F
square
#2F041D #2F2B04 #042F16 #04082F
split-complementary
#2F041D #082F04 #042F2B
monochromatic
#1C0211 #1C0211 #2F041D #670940 #A00E63

Accessibility & contrast

On white

18.17
#2F041D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F041D
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F041D#FFFFFF#000000##FFFFFF
##2F041D1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A111E
Deuteranopia (green-blind)
#17181C
Tritanopia (blue-blind)
#33020F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f041d;
/* rgb */ color: rgb(47, 4, 29);
/* oklch */ color: oklch(20.8% 0.076 349.5);
Tailwind
colors: {
  custom: {
    50: '#6a4858',
    500: '#2f041d',
    950: '#000000',
  },
}
SCSS
$custom: #2f041d;
$custom-light: #6a4858;
$custom-dark: #000000;
JSON
{
  "hex": "#2f041d",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 29
  },
  "hsl": {
    "h": 325.116,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20843,
    "c": 0.07621,
    "h": 349.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#2F041D
secondary
#1D7241
accent
#FB832D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F041D

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

Preview Lab → · Contrast checker → · Palette generator →

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