#2F081B#2F081B

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

Color values

HEX#2F081B
RGBrgb(47, 8, 27)
HSLhsl(331, 71%, 11%)
HSVhsv(331, 83%, 18%)
CMYKcmyk(0%, 83%, 42.6%, 81.6%)
CIE-LABlab(7.74, 21.86, -2.63)
CIE-LCHlch(7.74, 22.02, 353.15°)
OKLaboklab(21.35% 0.0669 -0.0067)
OKLCHoklch(21.35% 0.067 354.3)
XYZxyz(1.4570, 0.8573, 1.1254)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F081B #082F1C
analogous
#2F082E #2F081B #2F0808
triadic
#2F081B #1B2F08 #081B2F
tetradic
#2F081B #2E2F08 #082F1C #08082F
square
#2F081B #2E2F08 #082F1C #08082F
split-complementary
#2F081B #082F08 #082E2F
monochromatic
#1A040F #1A040F #2F081B #631139 #981A57

Accessibility & contrast

On white

17.93
#2F081B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F081B
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F081B#FFFFFF#000000##FFFFFF
##2F081B1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F121C
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#330510
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f081b;
/* rgb */ color: rgb(47, 8, 27);
/* oklch */ color: oklch(21.4% 0.067 354.3);
Tailwind
colors: {
  custom: {
    50: '#6a4b57',
    500: '#2f081b',
    950: '#000000',
  },
}
SCSS
$custom: #2f081b;
$custom-light: #6a4b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f081b",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 27
  },
  "hsl": {
    "h": 330.769,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21351,
    "c": 0.06727,
    "h": 354.3
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#2F081B
secondary
#256E4A
accent
#EE963A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F081B

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

Preview Lab → · Contrast checker → · Palette generator →

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