#2F181F#2F181F

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

Color values

HEX#2F181F
RGBrgb(47, 24, 31)
HSLhsl(342, 32%, 14%)
HSVhsv(342, 49%, 18%)
CMYKcmyk(0%, 48.9%, 34%, 81.6%)
CIE-LABlab(11.67, 12.68, 0.12)
CIE-LCHlch(11.67, 12.68, 0.55°)
OKLaboklab(24.34% 0.0384 0.0005)
OKLCHoklch(24.34% 0.038 0.7)
XYZxyz(1.7463, 1.3567, 1.4659)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F181F #182F28
analogous
#2F182B #2F181F #2F1D18
triadic
#2F181F #1F2F18 #181F2F
tetradic
#2F181F #2B2F18 #182F28 #1D182F
square
#2F181F #2B2F18 #182F28 #1D182F
split-complementary
#2F181F #182F1D #182B2F
monochromatic
#140A0D #140A0D #2F181F #582D3A #804154

Accessibility & contrast

On white

16.52
#2F181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F181F
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F181F#FFFFFF#000000##FFFFFF
##2F181F1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f181f;
/* rgb */ color: rgb(47, 24, 31);
/* oklch */ color: oklch(24.3% 0.038 0.7);
Tailwind
colors: {
  custom: {
    50: '#68555a',
    500: '#2f181f',
    950: '#000000',
  },
}
SCSS
$custom: #2f181f;
$custom-light: #68555a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f181f",
  "rgb": {
    "r": 47,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 341.739,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24343,
    "c": 0.03835,
    "h": 0.7
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#2F181F
secondary
#3F6459
accent
#C9A85F
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #2F181F

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

Preview Lab → · Contrast checker → · Palette generator →

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