#2F0412#2F0412

#2F0412 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.071 H 5.7°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2F0412
RGBrgb(47, 4, 18)
HSLhsl(340, 84%, 10%)
HSVhsv(340, 91%, 18%)
CMYKcmyk(0%, 91.5%, 61.7%, 81.6%)
CIE-LABlab(6.64, 22.75, 2.23)
CIE-LCHlch(6.64, 22.86, 5.60°)
OKLaboklab(20.36% 0.0707 0.0071)
OKLCHoklch(20.36% 0.071 5.7)
XYZxyz(1.3250, 0.7350, 0.6443)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0412 #042F21
analogous
#2F0428 #2F0412 #2F0B04
triadic
#2F0412 #122F04 #04122F
tetradic
#2F0412 #282F04 #042F21 #0B042F
square
#2F0412 #282F04 #042F21 #0B042F
split-complementary
#2F0412 #042F0B #04282F
monochromatic
#1C020B #1C020B #2F0412 #670928 #A00E3D

Accessibility & contrast

On white

18.31
#2F0412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0412
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0412#FFFFFF#000000##FFFFFF
##2F04121.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#340009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0412;
/* rgb */ color: rgb(47, 4, 18);
/* oklch */ color: oklch(20.4% 0.071 5.7);
Tailwind
colors: {
  custom: {
    50: '#6b4850',
    500: '#2f0412',
    950: '#000000',
  },
}
SCSS
$custom: #2f0412;
$custom-light: #6b4850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0412",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 340.465,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20365,
    "c": 0.07101,
    "h": 5.7
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#2F0412
secondary
#1D7256
accent
#FBB82D
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0412

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

Preview Lab → · Contrast checker → · Palette generator →

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