#2F111C#2F111C

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

Color values

HEX#2F111C
RGBrgb(47, 17, 28)
HSLhsl(338, 47%, 13%)
HSVhsv(338, 64%, 18%)
CMYKcmyk(0%, 63.8%, 40.4%, 81.6%)
CIE-LABlab(9.71, 16.84, -0.48)
CIE-LCHlch(9.71, 16.85, 358.35°)
OKLaboklab(22.83% 0.0512 -0.001)
OKLCHoklch(22.83% 0.051 358.8)
XYZxyz(1.5824, 1.0892, 1.2253)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F111C #112F24
analogous
#2F112B #2F111C #2F1511
triadic
#2F111C #1C2F11 #111C2F
tetradic
#2F111C #2B2F11 #112F24 #15112F
square
#2F111C #2B2F11 #112F24 #15112F
split-complementary
#2F111C #112F15 #112B2F
monochromatic
#16080D #16080D #2F111C #5C2137 #893252

Accessibility & contrast

On white

17.24
#2F111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F111C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F111C#FFFFFF#000000##FFFFFF
##2F111C1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f111c;
/* rgb */ color: rgb(47, 17, 28);
/* oklch */ color: oklch(22.8% 0.051 358.8);
Tailwind
colors: {
  custom: {
    50: '#695057',
    500: '#2f111c',
    950: '#000000',
  },
}
SCSS
$custom: #2f111c;
$custom-light: #695057;
$custom-dark: #000000;
JSON
{
  "hex": "#2f111c",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 338,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22831,
    "c": 0.05119,
    "h": 358.8
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2F111C
secondary
#346755
accent
#D7A651
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F111C

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

Preview Lab → · Contrast checker → · Palette generator →

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