#2F0812#2F0812

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

Color values

HEX#2F0812
RGBrgb(47, 8, 18)
HSLhsl(345, 71%, 11%)
HSVhsv(345, 83%, 18%)
CMYKcmyk(0%, 83%, 61.7%, 81.6%)
CIE-LABlab(7.42, 20.67, 3.38)
CIE-LCHlch(7.42, 20.94, 9.28°)
OKLaboklab(21% 0.063 0.0101)
OKLCHoklch(21% 0.064 9.1)
XYZxyz(1.3684, 0.8219, 0.6587)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0812 #082F25
analogous
#2F0825 #2F0812 #2F1108
triadic
#2F0812 #122F08 #08122F
tetradic
#2F0812 #252F08 #082F25 #11082F
square
#2F0812 #252F08 #082F25 #11082F
split-complementary
#2F0812 #082F11 #08252F
monochromatic
#1A040A #1A040A #2F0812 #631126 #981A3A

Accessibility & contrast

On white

18.04
#2F0812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0812
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0812#FFFFFF#000000##FFFFFF
##2F08121.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111112
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#34030C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0812;
/* rgb */ color: rgb(47, 8, 18);
/* oklch */ color: oklch(21.0% 0.064 9.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a4f',
    500: '#2f0812',
    950: '#000000',
  },
}
SCSS
$custom: #2f0812;
$custom-light: #6a4a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0812",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 18
  },
  "hsl": {
    "h": 344.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20997,
    "c": 0.0638,
    "h": 9.1
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#2F0812
secondary
#256E5B
accent
#EEC03A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0812

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

Preview Lab → · Contrast checker → · Palette generator →

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