#2F071C#2F071C

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

Color values

HEX#2F071C
RGBrgb(47, 7, 28)
HSLhsl(329, 74%, 11%)
HSVhsv(329, 85%, 18%)
CMYKcmyk(0%, 85.1%, 40.4%, 81.6%)
CIE-LABlab(7.59, 22.55, -3.63)
CIE-LCHlch(7.59, 22.84, 350.85°)
OKLaboklab(21.25% 0.0691 -0.0094)
OKLCHoklch(21.25% 0.07 352.3)
XYZxyz(1.4580, 0.8403, 1.1838)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F071C #072F1A
analogous
#2E072F #2F071C #2F0708
triadic
#2F071C #1C2F07 #071C2F
tetradic
#2F071C #2F2E07 #072F1A #07082F
square
#2F071C #2F2E07 #072F1A #07082F
split-complementary
#2F071C #082F07 #072F2E
monochromatic
#1B0410 #1B0410 #2F071C #640F3C #9A175B

Accessibility & contrast

On white

17.98
#2F071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F071C
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F071C#FFFFFF#000000##FFFFFF
##2F071C1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f071c;
/* rgb */ color: rgb(47, 7, 28);
/* oklch */ color: oklch(21.3% 0.070 352.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a58',
    500: '#2f071c',
    950: '#000000',
  },
}
SCSS
$custom: #2f071c;
$custom-light: #6a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f071c",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 328.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2125,
    "c": 0.06971,
    "h": 352.3
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2F071C
secondary
#236F47
accent
#F18F37
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F071C

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

Preview Lab → · Contrast checker → · Palette generator →

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