#2F081A#2F081A

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

Color values

HEX#2F081A
RGBrgb(47, 8, 26)
HSLhsl(332, 71%, 11%)
HSVhsv(332, 83%, 18%)
CMYKcmyk(0%, 83%, 44.7%, 81.6%)
CIE-LABlab(7.70, 21.72, -1.91)
CIE-LCHlch(7.70, 21.80, 354.97°)
OKLaboklab(21.31% 0.0666 -0.0048)
OKLCHoklch(21.31% 0.067 355.9)
XYZxyz(1.4457, 0.8528, 1.0655)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F081A #082F1D
analogous
#2F082D #2F081A #2F0908
triadic
#2F081A #1A2F08 #081A2F
tetradic
#2F081A #2D2F08 #082F1D #09082F
square
#2F081A #2D2F08 #082F1D #09082F
split-complementary
#2F081A #082F09 #082D2F
monochromatic
#1A040E #1A040E #2F081A #631137 #981A54

Accessibility & contrast

On white

17.94
#2F081A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F081A
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F081A#FFFFFF#000000##FFFFFF
##2F081A1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F121A
Deuteranopia (green-blind)
#1A1A19
Tritanopia (blue-blind)
#33050F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f081a;
/* rgb */ color: rgb(47, 8, 26);
/* oklch */ color: oklch(21.3% 0.067 355.9);
Tailwind
colors: {
  custom: {
    50: '#6a4b56',
    500: '#2f081a',
    950: '#000000',
  },
}
SCSS
$custom: #2f081a;
$custom-light: #6a4b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f081a",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 26
  },
  "hsl": {
    "h": 332.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21307,
    "c": 0.06672,
    "h": 355.9
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#2F081A
secondary
#256E4C
accent
#EE9B3A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F081A

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

Preview Lab → · Contrast checker → · Palette generator →

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