#2F031A#2F031A

#2F031A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.076 H 353.3°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#2F031A
RGBrgb(47, 3, 26)
HSLhsl(329, 88%, 10%)
HSVhsv(329, 94%, 18%)
CMYKcmyk(0%, 93.6%, 44.7%, 81.6%)
CIE-LABlab(6.72, 24.37, -3.36)
CIE-LCHlch(6.72, 24.60, 352.15°)
OKLaboklab(20.54% 0.076 -0.0089)
OKLCHoklch(20.54% 0.076 353.3)
XYZxyz(1.3914, 0.7442, 1.0475)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031A #032F18
analogous
#2E032F #2F031A #2F0304
triadic
#2F031A #1A2F03 #031A2F
tetradic
#2F031A #2F2E03 #032F18 #03042F
square
#2F031A #2F2E03 #032F18 #03042F
split-complementary
#2F031A #042F03 #032F2E
monochromatic
#1D0210 #1D0210 #2F031A #69073A #A20A5A

Accessibility & contrast

On white

18.28
#2F031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F031A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F031A
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F031A#FFFFFF#000000##FFFFFF
##2F031A1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101B
Deuteranopia (green-blind)
#181819
Tritanopia (blue-blind)
#34000D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f031a;
/* rgb */ color: rgb(47, 3, 26);
/* oklch */ color: oklch(20.5% 0.076 353.3);
Tailwind
colors: {
  custom: {
    50: '#6a4856',
    500: '#2f031a',
    950: '#000000',
  },
}
SCSS
$custom: #2f031a;
$custom-light: #6a4856;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031a",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 328.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20537,
    "c": 0.07647,
    "h": 353.3
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#2F031A
secondary
#1B7345
accent
#FE8F2A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F031A

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

Preview Lab → · Contrast checker → · Palette generator →

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