#2F051B#2F051B

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

Color values

HEX#2F051B
RGBrgb(47, 5, 27)
HSLhsl(329, 81%, 10%)
HSVhsv(329, 89%, 18%)
CMYKcmyk(0%, 89.4%, 42.6%, 81.6%)
CIE-LABlab(7.16, 23.47, -3.50)
CIE-LCHlch(7.16, 23.73, 351.51°)
OKLaboklab(20.9% 0.0724 -0.0091)
OKLCHoklch(20.9% 0.073 352.8)
XYZxyz(1.4245, 0.7922, 1.1146)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F051B #052F19
analogous
#2E052F #2F051B #2F0506
triadic
#2F051B #1B2F05 #051B2F
tetradic
#2F051B #2F2E05 #052F19 #05062F
square
#2F051B #2F2E05 #052F19 #05062F
split-complementary
#2F051B #062F05 #052F2E
monochromatic
#1C0310 #1C0310 #2F051B #660B3B #9E115B

Accessibility & contrast

On white

18.13
#2F051B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F051B
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F051B#FFFFFF#000000##FFFFFF
##2F051B1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111C
Deuteranopia (green-blind)
#18191A
Tritanopia (blue-blind)
#33030E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f051b;
/* rgb */ color: rgb(47, 5, 27);
/* oklch */ color: oklch(20.9% 0.073 352.8);
Tailwind
colors: {
  custom: {
    50: '#6a4957',
    500: '#2f051b',
    950: '#000000',
  },
}
SCSS
$custom: #2f051b;
$custom-light: #6a4957;
$custom-dark: #000000;
JSON
{
  "hex": "#2f051b",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 27
  },
  "hsl": {
    "h": 328.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20899,
    "c": 0.07296,
    "h": 352.8
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#2F051B
secondary
#1F7146
accent
#F78F31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F051B

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

Preview Lab → · Contrast checker → · Palette generator →

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