#2F071A#2F071A

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

Color values

HEX#2F071A
RGBrgb(47, 7, 26)
HSLhsl(332, 74%, 11%)
HSVhsv(332, 85%, 18%)
CMYKcmyk(0%, 85.1%, 44.7%, 81.6%)
CIE-LABlab(7.51, 22.25, -2.20)
CIE-LCHlch(7.51, 22.36, 354.35°)
OKLaboklab(21.16% 0.0683 -0.0056)
OKLCHoklch(21.16% 0.069 355.3)
XYZxyz(1.4348, 0.8310, 1.0619)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071A #072F1C
analogous
#2F072E #2F071A #2F0807
triadic
#2F071A #1A2F07 #071A2F
tetradic
#2F071A #2E2F07 #072F1C #08072F
square
#2F071A #2E2F07 #072F1C #08072F
split-complementary
#2F071A #072F08 #072E2F
monochromatic
#1B040F #1B040F #2F071A #640F37 #9A1755

Accessibility & contrast

On white

18.01
#2F071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F071A
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071A#FFFFFF#000000##FFFFFF
##2F071A1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121B
Deuteranopia (green-blind)
#191919
Tritanopia (blue-blind)
#33040F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f071a;
/* rgb */ color: rgb(47, 7, 26);
/* oklch */ color: oklch(21.2% 0.069 355.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a56',
    500: '#2f071a',
    950: '#000000',
  },
}
SCSS
$custom: #2f071a;
$custom-light: #6a4a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071a",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 331.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21157,
    "c": 0.06856,
    "h": 355.3
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#2F071A
secondary
#236F4B
accent
#F19937
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071A

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

Preview Lab → · Contrast checker → · Palette generator →

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