#2F041C#2F041C

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

Color values

HEX#2F041C
RGBrgb(47, 4, 28)
HSLhsl(327, 84%, 10%)
HSVhsv(327, 91%, 18%)
CMYKcmyk(0%, 91.5%, 40.4%, 81.6%)
CIE-LABlab(7.00, 24.15, -4.51)
CIE-LCHlch(7.00, 24.57, 349.42°)
OKLaboklab(20.79% 0.0746 -0.0119)
OKLCHoklch(20.79% 0.076 350.9)
XYZxyz(1.4254, 0.7752, 1.1729)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F041C #042F17
analogous
#2D042F #2F041C #2F0406
triadic
#2F041C #1C2F04 #041C2F
tetradic
#2F041C #2F2D04 #042F17 #04062F
square
#2F041C #2F2D04 #042F17 #04062F
split-complementary
#2F041C #062F04 #042F2D
monochromatic
#1C0211 #1C0211 #2F041C #67093E #A00E5F

Accessibility & contrast

On white

18.18
#2F041C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F041C
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F041C#FFFFFF#000000##FFFFFF
##2F041C1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101D
Deuteranopia (green-blind)
#17181B
Tritanopia (blue-blind)
#33020E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f041c;
/* rgb */ color: rgb(47, 4, 28);
/* oklch */ color: oklch(20.8% 0.076 350.9);
Tailwind
colors: {
  custom: {
    50: '#6a4858',
    500: '#2f041c',
    950: '#000000',
  },
}
SCSS
$custom: #2f041c;
$custom-light: #6a4858;
$custom-dark: #000000;
JSON
{
  "hex": "#2f041c",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 28
  },
  "hsl": {
    "h": 326.512,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20792,
    "c": 0.07558,
    "h": 350.9
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#2F041C
secondary
#1D7243
accent
#FB882D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F041C

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

Preview Lab → · Contrast checker → · Palette generator →

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