#2F0712#2F0712

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

Color values

HEX#2F0712
RGBrgb(47, 7, 18)
HSLhsl(344, 74%, 11%)
HSVhsv(344, 85%, 18%)
CMYKcmyk(0%, 85.1%, 61.7%, 81.6%)
CIE-LABlab(7.23, 21.20, 3.09)
CIE-LCHlch(7.23, 21.42, 8.30°)
OKLaboklab(20.84% 0.0648 0.0094)
OKLCHoklch(20.84% 0.066 8.2)
XYZxyz(1.3576, 0.8001, 0.6551)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0712 #072F24
analogous
#2F0726 #2F0712 #2F1007
triadic
#2F0712 #122F07 #07122F
tetradic
#2F0712 #262F07 #072F24 #10072F
square
#2F0712 #262F07 #072F24 #10072F
split-complementary
#2F0712 #072F10 #07262F
monochromatic
#1B040A #1B040A #2F0712 #640F26 #9A173B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0712#FFFFFF#000000##FFFFFF
##2F07121.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)
#101112
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#34020B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0712;
/* rgb */ color: rgb(47, 7, 18);
/* oklch */ color: oklch(20.8% 0.066 8.2);
Tailwind
colors: {
  custom: {
    50: '#6a4a4f',
    500: '#2f0712',
    950: '#000000',
  },
}
SCSS
$custom: #2f0712;
$custom-light: #6a4a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0712",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 343.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20843,
    "c": 0.0655,
    "h": 8.2
  },
  "luminance": 0.008
}

Semantic roles & 50–950 ramp

primary
#2F0712
secondary
#236F5A
accent
#F1BE37
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0712

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

Preview Lab → · Contrast checker → · Palette generator →

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