#2F181E#2F181E

#2F181E is a very dark, muted pink. Relative luminance 0.014; OKLCH L 24.3% C 0.038 H 3.5°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2F181E
RGBrgb(47, 24, 30)
HSLhsl(344, 32%, 14%)
HSVhsv(344, 49%, 18%)
CMYKcmyk(0%, 48.9%, 36.2%, 81.6%)
CIE-LABlab(11.63, 12.51, 0.81)
CIE-LCHlch(11.63, 12.54, 3.71°)
OKLaboklab(24.31% 0.0379 0.0023)
OKLCHoklch(24.31% 0.038 3.5)
XYZxyz(1.7333, 1.3515, 1.3976)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F181E #182F29
analogous
#2F182A #2F181E #2F1E18
triadic
#2F181E #1E2F18 #181E2F
tetradic
#2F181E #2A2F18 #182F29 #1E182F
square
#2F181E #2A2F18 #182F29 #1E182F
split-complementary
#2F181E #182F1E #182A2F
monochromatic
#140A0D #140A0D #2F181E #582D38 #804152

Accessibility & contrast

On white

16.53
#2F181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F181E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F181E#FFFFFF#000000##FFFFFF
##2F181E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1C1E
Deuteranopia (green-blind)
#21201E
Tritanopia (blue-blind)
#33161A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f181e;
/* rgb */ color: rgb(47, 24, 30);
/* oklch */ color: oklch(24.3% 0.038 3.5);
Tailwind
colors: {
  custom: {
    50: '#685559',
    500: '#2f181e',
    950: '#000000',
  },
}
SCSS
$custom: #2f181e;
$custom-light: #685559;
$custom-dark: #000000;
JSON
{
  "hex": "#2f181e",
  "rgb": {
    "r": 47,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 344.348,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24305,
    "c": 0.03795,
    "h": 3.5
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#2F181E
secondary
#3F645A
accent
#C9AD5F
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #2F181E

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

Preview Lab → · Contrast checker → · Palette generator →

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