#2F051E#2F051E

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

Color values

HEX#2F051E
RGBrgb(47, 5, 30)
HSLhsl(324, 81%, 10%)
HSVhsv(324, 89%, 18%)
CMYKcmyk(0%, 89.4%, 36.2%, 81.6%)
CIE-LABlab(7.29, 23.94, -5.64)
CIE-LCHlch(7.29, 24.60, 346.75°)
OKLaboklab(21.05% 0.0734 -0.0149)
OKLCHoklch(21.05% 0.075 348.5)
XYZxyz(1.4610, 0.8068, 1.3068)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F051E #052F16
analogous
#2B052F #2F051E #2F0509
triadic
#2F051E #1E2F05 #051E2F
tetradic
#2F051E #2F2B05 #052F16 #05092F
square
#2F051E #2F2B05 #052F16 #05092F
split-complementary
#2F051E #092F05 #052F2B
monochromatic
#1C0312 #1C0312 #2F051E #660B41 #9E1165

Accessibility & contrast

On white

18.08
#2F051E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F051E
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F051E#FFFFFF#000000##FFFFFF
##2F051E1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#17191D
Tritanopia (blue-blind)
#330410
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f051e;
/* rgb */ color: rgb(47, 5, 30);
/* oklch */ color: oklch(21.0% 0.075 348.5);
Tailwind
colors: {
  custom: {
    50: '#6a4959',
    500: '#2f051e',
    950: '#000000',
  },
}
SCSS
$custom: #2f051e;
$custom-light: #6a4959;
$custom-dark: #000000;
JSON
{
  "hex": "#2f051e",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 30
  },
  "hsl": {
    "h": 324.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21048,
    "c": 0.07485,
    "h": 348.5
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#2F051E
secondary
#1F7140
accent
#F78131
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F051E

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

Preview Lab → · Contrast checker → · Palette generator →

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