#2F121C#2F121C

#2F121C is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.0% C 0.049 H 359.9°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2F121C
RGBrgb(47, 18, 28)
HSLhsl(339, 45%, 13%)
HSVhsv(339, 62%, 18%)
CMYKcmyk(0%, 61.7%, 40.4%, 81.6%)
CIE-LABlab(9.96, 16.20, -0.12)
CIE-LCHlch(9.96, 16.20, 359.56°)
OKLaboklab(23.02% 0.0492 -0.0001)
OKLCHoklch(23.02% 0.049 359.9)
XYZxyz(1.5983, 1.1209, 1.2306)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121C #122F25
analogous
#2F122A #2F121C #2F1612
triadic
#2F121C #1C2F12 #121C2F
tetradic
#2F121C #2A2F12 #122F25 #16122F
square
#2F121C #2A2F12 #122F25 #16122F
split-complementary
#2F121C #122F16 #122A2F
monochromatic
#16080D #16080D #2F121C #5B2336 #883451

Accessibility & contrast

On white

17.15
#2F121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F121C
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121C#FFFFFF#000000##FFFFFF
##2F121C1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181C
Deuteranopia (green-blind)
#1E1D1B
Tritanopia (blue-blind)
#331016
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f121c;
/* rgb */ color: rgb(47, 18, 28);
/* oklch */ color: oklch(23.0% 0.049 359.9);
Tailwind
colors: {
  custom: {
    50: '#695157',
    500: '#2f121c',
    950: '#000000',
  },
}
SCSS
$custom: #2f121c;
$custom-light: #695157;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121c",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 339.31,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23017,
    "c": 0.04921,
    "h": 359.9
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#2F121C
secondary
#366756
accent
#D4A853
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121C

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

Preview Lab → · Contrast checker → · Palette generator →

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