#2F121E#2F121E

#2F121E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.1% C 0.050 H 355.7°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2F121E
RGBrgb(47, 18, 30)
HSLhsl(335, 45%, 13%)
HSVhsv(335, 62%, 18%)
CMYKcmyk(0%, 61.7%, 36.2%, 81.6%)
CIE-LABlab(10.04, 16.53, -1.52)
CIE-LCHlch(10.04, 16.60, 354.74°)
OKLaboklab(23.1% 0.0501 -0.0038)
OKLCHoklch(23.1% 0.05 355.7)
XYZxyz(1.6230, 1.1308, 1.3608)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121E #122F23
analogous
#2F122C #2F121E #2F1412
triadic
#2F121E #1E2F12 #121E2F
tetradic
#2F121E #2C2F12 #122F23 #14122F
square
#2F121E #2C2F12 #122F23 #14122F
split-complementary
#2F121E #122F14 #122C2F
monochromatic
#16080E #16080E #2F121E #5B233A #883456

Accessibility & contrast

On white

17.13
#2F121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F121E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121E#FFFFFF#000000##FFFFFF
##2F121E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181E
Deuteranopia (green-blind)
#1E1E1D
Tritanopia (blue-blind)
#331016
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f121e;
/* rgb */ color: rgb(47, 18, 30);
/* oklch */ color: oklch(23.1% 0.050 355.7);
Tailwind
colors: {
  custom: {
    50: '#695159',
    500: '#2f121e',
    950: '#000000',
  },
}
SCSS
$custom: #2f121e;
$custom-light: #695159;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121e",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 335.172,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23099,
    "c": 0.05023,
    "h": 355.7
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#2F121E
secondary
#366753
accent
#D49F53
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121E

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

Preview Lab → · Contrast checker → · Palette generator →

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