#2F0416#2F0416

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

Color values

HEX#2F0416
RGBrgb(47, 4, 22)
HSLhsl(335, 84%, 10%)
HSVhsv(335, 91%, 18%)
CMYKcmyk(0%, 91.5%, 53.2%, 81.6%)
CIE-LABlab(6.77, 23.26, -0.23)
CIE-LCHlch(6.77, 23.27, 359.44°)
OKLaboklab(20.52% 0.0724 -0.0004)
OKLCHoklch(20.52% 0.072 359.7)
XYZxyz(1.3606, 0.7493, 0.8319)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0416 #042F1D
analogous
#2F042B #2F0416 #2F0804
triadic
#2F0416 #162F04 #04162F
tetradic
#2F0416 #2B2F04 #042F1D #08042F
square
#2F0416 #2B2F04 #042F1D #08042F
split-complementary
#2F0416 #042F08 #042B2F
monochromatic
#1C020D #1C020D #2F0416 #670930 #A00E4B

Accessibility & contrast

On white

18.26
#2F0416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0416
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0416#FFFFFF#000000##FFFFFF
##2F04161.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1016
Deuteranopia (green-blind)
#191815
Tritanopia (blue-blind)
#34000B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0416;
/* rgb */ color: rgb(47, 4, 22);
/* oklch */ color: oklch(20.5% 0.072 359.7);
Tailwind
colors: {
  custom: {
    50: '#6a4852',
    500: '#2f0416',
    950: '#000000',
  },
}
SCSS
$custom: #2f0416;
$custom-light: #6a4852;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0416",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 22
  },
  "hsl": {
    "h": 334.884,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20519,
    "c": 0.07243,
    "h": 359.7
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#2F0416
secondary
#1D724E
accent
#FBA52D
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0416

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

Preview Lab → · Contrast checker → · Palette generator →

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