#2F071D#2F071D

#2F071D is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.070 H 350.7°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2F071D
RGBrgb(47, 7, 29)
HSLhsl(327, 74%, 11%)
HSVhsv(327, 85%, 18%)
CMYKcmyk(0%, 85.1%, 38.3%, 81.6%)
CIE-LABlab(7.63, 22.70, -4.34)
CIE-LCHlch(7.63, 23.12, 349.17°)
OKLaboklab(21.3% 0.0694 -0.0113)
OKLCHoklch(21.3% 0.07 350.7)
XYZxyz(1.4701, 0.8452, 1.2479)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071D #072F19
analogous
#2D072F #2F071D #2F0709
triadic
#2F071D #1D2F07 #071D2F
tetradic
#2F071D #2F2D07 #072F19 #07092F
square
#2F071D #2F2D07 #072F19 #07092F
split-complementary
#2F071D #092F07 #072F2D
monochromatic
#1B0410 #1B0410 #2F071D #640F3E #9A175F

Accessibility & contrast

On white

17.96
#2F071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F071D
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071D#FFFFFF#000000##FFFFFF
##2F071D1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121E
Deuteranopia (green-blind)
#19191C
Tritanopia (blue-blind)
#330510
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f071d;
/* rgb */ color: rgb(47, 7, 29);
/* oklch */ color: oklch(21.3% 0.070 350.7);
Tailwind
colors: {
  custom: {
    50: '#6a4a58',
    500: '#2f071d',
    950: '#000000',
  },
}
SCSS
$custom: #2f071d;
$custom-light: #6a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071d",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 327,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21298,
    "c": 0.07033,
    "h": 350.7
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#2F071D
secondary
#236F45
accent
#F18B37
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071D

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

Preview Lab → · Contrast checker → · Palette generator →

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