#2F071F#2F071F

#2F071F is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.4% C 0.072 H 347.8°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2F071F
RGBrgb(47, 7, 31)
HSLhsl(324, 74%, 11%)
HSVhsv(324, 85%, 18%)
CMYKcmyk(0%, 85.1%, 34%, 81.6%)
CIE-LABlab(7.73, 23.03, -5.75)
CIE-LCHlch(7.73, 23.73, 345.98°)
OKLaboklab(21.4% 0.0701 -0.0151)
OKLCHoklch(21.4% 0.072 347.8)
XYZxyz(1.4957, 0.8554, 1.3824)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071F #072F17
analogous
#2B072F #2F071F #2F070B
triadic
#2F071F #1F2F07 #071F2F
tetradic
#2F071F #2F2B07 #072F17 #070B2F
square
#2F071F #2F2B07 #072F17 #070B2F
split-complementary
#2F071F #0B2F07 #072F2B
monochromatic
#1B0412 #1B0412 #2F071F #640F42 #9A1765

Accessibility & contrast

On white

17.93
#2F071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F071F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071F#FFFFFF#000000##FFFFFF
##2F071F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1320
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#330611
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f071f;
/* rgb */ color: rgb(47, 7, 31);
/* oklch */ color: oklch(21.4% 0.072 347.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a5a',
    500: '#2f071f',
    950: '#000000',
  },
}
SCSS
$custom: #2f071f;
$custom-light: #6a4a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071f",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 324,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21398,
    "c": 0.07167,
    "h": 347.8
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#2F071F
secondary
#236F41
accent
#F18137
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071F

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

Preview Lab → · Contrast checker → · Palette generator →

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