#2F051A#2F051A

#2F051A is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.072 H 354.3°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#2F051A
RGBrgb(47, 5, 26)
HSLhsl(330, 81%, 10%)
HSVhsv(330, 89%, 18%)
CMYKcmyk(0%, 89.4%, 44.7%, 81.6%)
CIE-LABlab(7.11, 23.32, -2.78)
CIE-LCHlch(7.11, 23.48, 353.20°)
OKLaboklab(20.85% 0.072 -0.0072)
OKLCHoklch(20.85% 0.072 354.3)
XYZxyz(1.4131, 0.7876, 1.0547)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F051A #052F1A
analogous
#2F052F #2F051A #2F0505
triadic
#2F051A #1A2F05 #051A2F
tetradic
#2F051A #2F2F05 #052F1A #05052F
square
#2F051A #2F2F05 #052F1A #05052F
split-complementary
#2F051A #052F05 #052F2F
monochromatic
#1C030F #1C030F #2F051A #660B39 #9E1157

Accessibility & contrast

On white

18.14
#2F051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F051A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F051A
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F051A#FFFFFF#000000##FFFFFF
##2F051A1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111B
Deuteranopia (green-blind)
#181919
Tritanopia (blue-blind)
#34020E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f051a;
/* rgb */ color: rgb(47, 5, 26);
/* oklch */ color: oklch(20.9% 0.072 354.3);
Tailwind
colors: {
  custom: {
    50: '#6a4956',
    500: '#2f051a',
    950: '#000000',
  },
}
SCSS
$custom: #2f051a;
$custom-light: #6a4956;
$custom-dark: #000000;
JSON
{
  "hex": "#2f051a",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 330,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20852,
    "c": 0.0724,
    "h": 354.3
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#2F051A
secondary
#1F7148
accent
#F79431
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F051A

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

Preview Lab → · Contrast checker → · Palette generator →

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