#2F111B#2F111B

#2F111B is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.051 H 0.9°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2F111B
RGBrgb(47, 17, 27)
HSLhsl(340, 47%, 13%)
HSVhsv(340, 64%, 18%)
CMYKcmyk(0%, 63.8%, 42.6%, 81.6%)
CIE-LABlab(9.68, 16.68, 0.22)
CIE-LCHlch(9.68, 16.68, 0.76°)
OKLaboklab(22.79% 0.0507 0.0008)
OKLCHoklch(22.79% 0.051 0.9)
XYZxyz(1.5706, 1.0845, 1.1633)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F111B #112F25
analogous
#2F112A #2F111B #2F1611
triadic
#2F111B #1B2F11 #111B2F
tetradic
#2F111B #2A2F11 #112F25 #16112F
square
#2F111B #2A2F11 #112F25 #16112F
split-complementary
#2F111B #112F16 #112A2F
monochromatic
#16080D #16080D #2F111B #5C2135 #89324F

Accessibility & contrast

On white

17.26
#2F111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F111B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F111B
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F111B#FFFFFF#000000##FFFFFF
##2F111B1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171B
Deuteranopia (green-blind)
#1E1D1A
Tritanopia (blue-blind)
#330F15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f111b;
/* rgb */ color: rgb(47, 17, 27);
/* oklch */ color: oklch(22.8% 0.051 0.9);
Tailwind
colors: {
  custom: {
    50: '#695057',
    500: '#2f111b',
    950: '#000000',
  },
}
SCSS
$custom: #2f111b;
$custom-light: #695057;
$custom-dark: #000000;
JSON
{
  "hex": "#2f111b",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 340,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22791,
    "c": 0.05074,
    "h": 0.9
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#2F111B
secondary
#346756
accent
#D7AA51
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F111B

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

Preview Lab → · Contrast checker → · Palette generator →

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