#2F121D#2F121D

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

Color values

HEX#2F121D
RGBrgb(47, 18, 29)
HSLhsl(337, 45%, 13%)
HSVhsv(337, 62%, 18%)
CMYKcmyk(0%, 61.7%, 38.3%, 81.6%)
CIE-LABlab(10.00, 16.36, -0.82)
CIE-LCHlch(10.00, 16.38, 357.12°)
OKLaboklab(23.06% 0.0497 -0.0019)
OKLCHoklch(23.06% 0.05 357.8)
XYZxyz(1.6104, 1.1258, 1.2946)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121D #122F24
analogous
#2F122B #2F121D #2F1512
triadic
#2F121D #1D2F12 #121D2F
tetradic
#2F121D #2B2F12 #122F24 #15122F
square
#2F121D #2B2F12 #122F24 #15122F
split-complementary
#2F121D #122F15 #122B2F
monochromatic
#16080E #16080E #2F121D #5B2338 #883454

Accessibility & contrast

On white

17.14
#2F121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F121D
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121D#FFFFFF#000000##FFFFFF
##2F121D1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181D
Deuteranopia (green-blind)
#1E1D1C
Tritanopia (blue-blind)
#331016
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f121d;
/* rgb */ color: rgb(47, 18, 29);
/* oklch */ color: oklch(23.1% 0.050 357.8);
Tailwind
colors: {
  custom: {
    50: '#695158',
    500: '#2f121d',
    950: '#000000',
  },
}
SCSS
$custom: #2f121d;
$custom-light: #695158;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121d",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 337.241,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23058,
    "c": 0.04969,
    "h": 357.8
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2F121D
secondary
#366754
accent
#D4A353
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121D

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

Preview Lab → · Contrast checker → · Palette generator →

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