#2F121B#2F121B

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

Color values

HEX#2F121B
RGBrgb(47, 18, 27)
HSLhsl(341, 45%, 13%)
HSVhsv(341, 62%, 18%)
CMYKcmyk(0%, 61.7%, 42.6%, 81.6%)
CIE-LABlab(9.92, 16.04, 0.58)
CIE-LCHlch(9.92, 16.05, 2.07°)
OKLaboklab(22.98% 0.0488 0.0017)
OKLCHoklch(22.98% 0.049 2)
XYZxyz(1.5865, 1.1162, 1.1686)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F121B #122F26
analogous
#2F1229 #2F121B #2F1712
triadic
#2F121B #1B2F12 #121B2F
tetradic
#2F121B #292F12 #122F26 #17122F
square
#2F121B #292F12 #122F26 #17122F
split-complementary
#2F121B #122F17 #12292F
monochromatic
#16080D #16080D #2F121B #5B2334 #88344E

Accessibility & contrast

On white

17.17
#2F121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F121B
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F121B#FFFFFF#000000##FFFFFF
##2F121B1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#1E1D1A
Tritanopia (blue-blind)
#331015
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f121b;
/* rgb */ color: rgb(47, 18, 27);
/* oklch */ color: oklch(23.0% 0.049 2.0);
Tailwind
colors: {
  custom: {
    50: '#695157',
    500: '#2f121b',
    950: '#000000',
  },
}
SCSS
$custom: #2f121b;
$custom-light: #695157;
$custom-dark: #000000;
JSON
{
  "hex": "#2f121b",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 341.379,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22978,
    "c": 0.04878,
    "h": 2
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#2F121B
secondary
#366758
accent
#D4AC53
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F121B

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

Preview Lab → · Contrast checker → · Palette generator →

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