#2F051D#2F051D

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

Color values

HEX#2F051D
RGBrgb(47, 5, 29)
HSLhsl(326, 81%, 10%)
HSVhsv(326, 89%, 18%)
CMYKcmyk(0%, 89.4%, 38.3%, 81.6%)
CIE-LABlab(7.24, 23.78, -4.93)
CIE-LCHlch(7.24, 24.28, 348.28°)
OKLaboklab(21% 0.0731 -0.013)
OKLCHoklch(21% 0.074 349.9)
XYZxyz(1.4484, 0.8018, 1.2406)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F051D #052F17
analogous
#2C052F #2F051D #2F0508
triadic
#2F051D #1D2F05 #051D2F
tetradic
#2F051D #2F2C05 #052F17 #05082F
square
#2F051D #2F2C05 #052F17 #05082F
split-complementary
#2F051D #082F05 #052F2C
monochromatic
#1C0311 #1C0311 #2F051D #660B3F #9E1161

Accessibility & contrast

On white

18.10
#2F051D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F051D
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F051D#FFFFFF#000000##FFFFFF
##2F051D1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f051d;
/* rgb */ color: rgb(47, 5, 29);
/* oklch */ color: oklch(21.0% 0.074 349.9);
Tailwind
colors: {
  custom: {
    50: '#6a4958',
    500: '#2f051d',
    950: '#000000',
  },
}
SCSS
$custom: #2f051d;
$custom-light: #6a4958;
$custom-dark: #000000;
JSON
{
  "hex": "#2f051d",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 29
  },
  "hsl": {
    "h": 325.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20997,
    "c": 0.0742,
    "h": 349.9
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#2F051D
secondary
#1F7142
accent
#F78631
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F051D

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

Preview Lab → · Contrast checker → · Palette generator →

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