#2F121A#2F121A

#2F121A is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.9% C 0.048 H 4.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2F121A
RGBrgb(47, 18, 26)
HSLhsl(343, 45%, 13%)
HSVhsv(343, 62%, 18%)
CMYKcmyk(0%, 61.7%, 44.7%, 81.6%)
CIE-LABlab(9.89, 15.88, 1.29)
CIE-LCHlch(9.89, 15.94, 4.63°)
OKLaboklab(22.94% 0.0483 0.0035)
OKLCHoklch(22.94% 0.048 4.2)
XYZxyz(1.5751, 1.1117, 1.1087)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121A #122F27
analogous
#2F1228 #2F121A #2F1812
triadic
#2F121A #1A2F12 #121A2F
tetradic
#2F121A #282F12 #122F27 #18122F
square
#2F121A #282F12 #122F27 #18122F
split-complementary
#2F121A #122F18 #12282F
monochromatic
#16080C #16080C #2F121A #5B2332 #88344B

Accessibility & contrast

On white

17.18
#2F121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F121A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121A#FFFFFF#000000##FFFFFF
##2F121A1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181A
Deuteranopia (green-blind)
#1E1D19
Tritanopia (blue-blind)
#330F15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f121a;
/* rgb */ color: rgb(47, 18, 26);
/* oklch */ color: oklch(22.9% 0.048 4.2);
Tailwind
colors: {
  custom: {
    50: '#695156',
    500: '#2f121a',
    950: '#000000',
  },
}
SCSS
$custom: #2f121a;
$custom-light: #695156;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121a",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 343.448,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2294,
    "c": 0.04841,
    "h": 4.2
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2F121A
secondary
#366759
accent
#D4B153
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121A

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

Preview Lab → · Contrast checker → · Palette generator →

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