#2F121F#2F121F

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

Color values

HEX#2F121F
RGBrgb(47, 18, 31)
HSLhsl(333, 45%, 13%)
HSVhsv(333, 62%, 18%)
CMYKcmyk(0%, 61.7%, 34%, 81.6%)
CIE-LABlab(10.08, 16.70, -2.22)
CIE-LCHlch(10.08, 16.85, 352.43°)
OKLaboklab(23.14% 0.0505 -0.0056)
OKLCHoklch(23.14% 0.051 353.6)
XYZxyz(1.6360, 1.1360, 1.4292)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121F #122F22
analogous
#2F122D #2F121F #2F1312
triadic
#2F121F #1F2F12 #121F2F
tetradic
#2F121F #2D2F12 #122F22 #13122F
square
#2F121F #2D2F12 #122F22 #13122F
split-complementary
#2F121F #122F13 #122D2F
monochromatic
#16080F #16080F #2F121F #5B233C #883459

Accessibility & contrast

On white

17.11
#2F121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F121F
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121F#FFFFFF#000000##FFFFFF
##2F121F1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181F
Deuteranopia (green-blind)
#1D1E1E
Tritanopia (blue-blind)
#331117
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f121f;
/* rgb */ color: rgb(47, 18, 31);
/* oklch */ color: oklch(23.1% 0.051 353.6);
Tailwind
colors: {
  custom: {
    50: '#69515a',
    500: '#2f121f',
    950: '#000000',
  },
}
SCSS
$custom: #2f121f;
$custom-light: #69515a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121f",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 333.103,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23142,
    "c": 0.05083,
    "h": 353.6
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#2F121F
secondary
#366751
accent
#D49B53
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121F

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

Preview Lab → · Contrast checker → · Palette generator →

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