#2F071B#2F071B

#2F071B is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.069 H 353.8°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2F071B
RGBrgb(47, 7, 27)
HSLhsl(330, 74%, 11%)
HSVhsv(330, 85%, 18%)
CMYKcmyk(0%, 85.1%, 42.6%, 81.6%)
CIE-LABlab(7.55, 22.40, -2.92)
CIE-LCHlch(7.55, 22.59, 352.57°)
OKLaboklab(21.2% 0.0687 -0.0075)
OKLCHoklch(21.2% 0.069 353.8)
XYZxyz(1.4462, 0.8356, 1.1218)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071B #072F1B
analogous
#2F072F #2F071B #2F0707
triadic
#2F071B #1B2F07 #071B2F
tetradic
#2F071B #2F2F07 #072F1B #07072F
square
#2F071B #2F2F07 #072F1B #07072F
split-complementary
#2F071B #072F07 #072F2F
monochromatic
#1B040F #1B040F #2F071B #640F3A #9A1758

Accessibility & contrast

On white

17.99
#2F071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F071B
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071B#FFFFFF#000000##FFFFFF
##2F071B1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121C
Deuteranopia (green-blind)
#19191A
Tritanopia (blue-blind)
#33050F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f071b;
/* rgb */ color: rgb(47, 7, 27);
/* oklch */ color: oklch(21.2% 0.069 353.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a57',
    500: '#2f071b',
    950: '#000000',
  },
}
SCSS
$custom: #2f071b;
$custom-light: #6a4a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071b",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 330,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21203,
    "c": 0.06912,
    "h": 353.8
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#2F071B
secondary
#236F49
accent
#F19437
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071B

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

Preview Lab → · Contrast checker → · Palette generator →

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