#2F040F#2F040F

#2F040F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.070 H 10.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#2F040F
RGBrgb(47, 4, 15)
HSLhsl(345, 84%, 10%)
HSVhsv(345, 91%, 18%)
CMYKcmyk(0%, 91.5%, 68.1%, 81.6%)
CIE-LABlab(6.56, 22.41, 3.82)
CIE-LCHlch(6.56, 22.74, 9.66°)
OKLaboklab(20.27% 0.0692 0.0125)
OKLCHoklch(20.27% 0.07 10.2)
XYZxyz(1.3021, 0.7258, 0.5234)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F040F #042F24
analogous
#2F0425 #2F040F #2F0E04
triadic
#2F040F #0F2F04 #040F2F
tetradic
#2F040F #252F04 #042F24 #0E042F
square
#2F040F #252F04 #042F24 #0E042F
split-complementary
#2F040F #042F0E #04252F
monochromatic
#1C0209 #1C0209 #2F040F #670921 #A00E33

Accessibility & contrast

On white

18.34
#2F040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F040F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F040F#FFFFFF#000000##FFFFFF
##2F040F1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0F0F
Deuteranopia (green-blind)
#1A180E
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f040f;
/* rgb */ color: rgb(47, 4, 15);
/* oklch */ color: oklch(20.3% 0.070 10.2);
Tailwind
colors: {
  custom: {
    50: '#6b484e',
    500: '#2f040f',
    950: '#000000',
  },
}
SCSS
$custom: #2f040f;
$custom-light: #6b484e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f040f",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 344.651,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20265,
    "c": 0.07035,
    "h": 10.2
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#2F040F
secondary
#1D725C
accent
#FBC62D
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F040F

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

Preview Lab → · Contrast checker → · Palette generator →

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