#2F081E#2F081E

#2F081E is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.069 H 349.7°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2F081E
RGBrgb(47, 8, 30)
HSLhsl(326, 71%, 11%)
HSVhsv(326, 83%, 18%)
CMYKcmyk(0%, 83%, 36.2%, 81.6%)
CIE-LABlab(7.88, 22.32, -4.75)
CIE-LCHlch(7.88, 22.82, 347.98°)
OKLaboklab(21.49% 0.068 -0.0124)
OKLCHoklch(21.49% 0.069 349.7)
XYZxyz(1.4935, 0.8719, 1.3177)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F081E #082F19
analogous
#2C082F #2F081E #2F080A
triadic
#2F081E #1E2F08 #081E2F
tetradic
#2F081E #2F2C08 #082F19 #080A2F
square
#2F081E #2F2C08 #082F19 #080A2F
split-complementary
#2F081E #0A2F08 #082F2C
monochromatic
#1A0411 #1A0411 #2F081E #63113F #981A61

Accessibility & contrast

On white

17.88
#2F081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F081E
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F081E#FFFFFF#000000##FFFFFF
##2F081E1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131F
Deuteranopia (green-blind)
#191A1D
Tritanopia (blue-blind)
#330611
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f081e;
/* rgb */ color: rgb(47, 8, 30);
/* oklch */ color: oklch(21.5% 0.069 349.7);
Tailwind
colors: {
  custom: {
    50: '#6a4b59',
    500: '#2f081e',
    950: '#000000',
  },
}
SCSS
$custom: #2f081e;
$custom-light: #6a4b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f081e",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 326.154,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21494,
    "c": 0.06912,
    "h": 349.7
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#2F081E
secondary
#256E45
accent
#EE883A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F081E

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

Preview Lab → · Contrast checker → · Palette generator →

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