#2F051C#2F051C

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

Color values

HEX#2F051C
RGBrgb(47, 5, 28)
HSLhsl(327, 81%, 10%)
HSVhsv(327, 89%, 18%)
CMYKcmyk(0%, 89.4%, 40.4%, 81.6%)
CIE-LABlab(7.20, 23.62, -4.22)
CIE-LCHlch(7.20, 23.99, 349.87°)
OKLaboklab(20.95% 0.0727 -0.0111)
OKLCHoklch(20.95% 0.074 351.4)
XYZxyz(1.4362, 0.7969, 1.1766)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F051C #052F18
analogous
#2D052F #2F051C #2F0507
triadic
#2F051C #1C2F05 #051C2F
tetradic
#2F051C #2F2D05 #052F18 #05072F
square
#2F051C #2F2D05 #052F18 #05072F
split-complementary
#2F051C #072F05 #052F2D
monochromatic
#1C0310 #1C0310 #2F051C #660B3D #9E115E

Accessibility & contrast

On white

18.11
#2F051C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F051C
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F051C#FFFFFF#000000##FFFFFF
##2F051C1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111D
Deuteranopia (green-blind)
#18191B
Tritanopia (blue-blind)
#33030F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f051c;
/* rgb */ color: rgb(47, 5, 28);
/* oklch */ color: oklch(20.9% 0.074 351.4);
Tailwind
colors: {
  custom: {
    50: '#6a4958',
    500: '#2f051c',
    950: '#000000',
  },
}
SCSS
$custom: #2f051c;
$custom-light: #6a4958;
$custom-dark: #000000;
JSON
{
  "hex": "#2f051c",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 28
  },
  "hsl": {
    "h": 327.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20947,
    "c": 0.07357,
    "h": 351.4
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2F051C
secondary
#1F7144
accent
#F78A31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F051C

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

Preview Lab → · Contrast checker → · Palette generator →

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