#2F041F#2F041F

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

Color values

HEX#2F041F
RGBrgb(47, 4, 31)
HSLhsl(322, 84%, 10%)
HSVhsv(322, 91%, 18%)
CMYKcmyk(0%, 91.5%, 34%, 81.6%)
CIE-LABlab(7.14, 24.64, -6.64)
CIE-LCHlch(7.14, 25.52, 344.92°)
OKLaboklab(20.95% 0.0755 -0.0177)
OKLCHoklch(20.95% 0.078 346.8)
XYZxyz(1.4631, 0.7903, 1.3715)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F041F #042F14
analogous
#2A042F #2F041F #2F0409
triadic
#2F041F #1F2F04 #041F2F
tetradic
#2F041F #2F2A04 #042F14 #04092F
square
#2F041F #2F2A04 #042F14 #04092F
split-complementary
#2F041F #092F04 #042F2A
monochromatic
#1C0213 #1C0213 #2F041F #670944 #A00E69

Accessibility & contrast

On white

18.13
#2F041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F041F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F041F#FFFFFF#000000##FFFFFF
##2F041F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091120
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#330310
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f041f;
/* rgb */ color: rgb(47, 4, 31);
/* oklch */ color: oklch(20.9% 0.078 346.8);
Tailwind
colors: {
  custom: {
    50: '#6a485a',
    500: '#2f041f',
    950: '#000000',
  },
}
SCSS
$custom: #2f041f;
$custom-light: #6a485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f041f",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 322.326,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20948,
    "c": 0.07754,
    "h": 346.8
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#2F041F
secondary
#1D723D
accent
#FB7A2D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F041F

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

Preview Lab → · Contrast checker → · Palette generator →

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