#2F0814#2F0814

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

Color values

HEX#2F0814
RGBrgb(47, 8, 20)
HSLhsl(342, 71%, 11%)
HSVhsv(342, 83%, 18%)
CMYKcmyk(0%, 83%, 57.4%, 81.6%)
CIE-LABlab(7.49, 20.91, 2.20)
CIE-LCHlch(7.49, 21.02, 6.00°)
OKLaboklab(21.07% 0.064 0.0064)
OKLCHoklch(21.07% 0.064 5.8)
XYZxyz(1.3855, 0.8287, 0.7487)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0814 #082F23
analogous
#2F0827 #2F0814 #2F0F08
triadic
#2F0814 #142F08 #08142F
tetradic
#2F0814 #272F08 #082F23 #0F082F
square
#2F0814 #272F08 #082F23 #0F082F
split-complementary
#2F0814 #082F0F #08272F
monochromatic
#1A040B #1A040B #2F0814 #63112A #981A41

Accessibility & contrast

On white

18.01
#2F0814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0814
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0814#FFFFFF#000000##FFFFFF
##2F08141.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111214
Deuteranopia (green-blind)
#1B1913
Tritanopia (blue-blind)
#34040D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0814;
/* rgb */ color: rgb(47, 8, 20);
/* oklch */ color: oklch(21.1% 0.064 5.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a51',
    500: '#2f0814',
    950: '#000000',
  },
}
SCSS
$custom: #2f0814;
$custom-light: #6a4a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0814",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 20
  },
  "hsl": {
    "h": 341.538,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21067,
    "c": 0.06427,
    "h": 5.8
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#2F0814
secondary
#256E57
accent
#EEB63A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0814

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

Preview Lab → · Contrast checker → · Palette generator →

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