#2F071E#2F071E

#2F071E is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.3% C 0.071 H 349.3°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#2F071E
RGBrgb(47, 7, 30)
HSLhsl(326, 74%, 11%)
HSVhsv(326, 85%, 18%)
CMYKcmyk(0%, 85.1%, 36.2%, 81.6%)
CIE-LABlab(7.68, 22.86, -5.05)
CIE-LCHlch(7.68, 23.42, 347.55°)
OKLaboklab(21.35% 0.0697 -0.0132)
OKLCHoklch(21.35% 0.071 349.3)
XYZxyz(1.4827, 0.8502, 1.3141)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071E #072F18
analogous
#2C072F #2F071E #2F070A
triadic
#2F071E #1E2F07 #071E2F
tetradic
#2F071E #2F2C07 #072F18 #070A2F
square
#2F071E #2F2C07 #072F18 #070A2F
split-complementary
#2F071E #0A2F07 #072F2C
monochromatic
#1B0411 #1B0411 #2F071E #640F40 #9A1762

Accessibility & contrast

On white

17.95
#2F071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F071E
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071E#FFFFFF#000000##FFFFFF
##2F071E1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121F
Deuteranopia (green-blind)
#18191D
Tritanopia (blue-blind)
#330511
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f071e;
/* rgb */ color: rgb(47, 7, 30);
/* oklch */ color: oklch(21.3% 0.071 349.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a59',
    500: '#2f071e',
    950: '#000000',
  },
}
SCSS
$custom: #2f071e;
$custom-light: #6a4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071e",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 325.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21347,
    "c": 0.07098,
    "h": 349.3
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#2F071E
secondary
#236F43
accent
#F18637
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071E

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

Preview Lab → · Contrast checker → · Palette generator →

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