#2F0112#2F0112

#2F0112 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.077 H 3.5°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#2F0112
RGBrgb(47, 1, 18)
HSLhsl(338, 96%, 9%)
HSVhsv(338, 98%, 18%)
CMYKcmyk(0%, 97.9%, 61.7%, 81.6%)
CIE-LABlab(6.05, 24.29, 1.37)
CIE-LCHlch(6.05, 24.33, 3.24°)
OKLaboklab(19.86% 0.077 0.0046)
OKLCHoklch(19.86% 0.077 3.5)
XYZxyz(1.2924, 0.6699, 0.6334)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0112 #012F1E
analogous
#2F0129 #2F0112 #2F0701
triadic
#2F0112 #122F01 #01122F
tetradic
#2F0112 #292F01 #012F1E #07012F
square
#2F0112 #292F01 #012F1E #07012F
split-complementary
#2F0112 #012F07 #01292F
monochromatic
#1E010B #1E010B #2F0112 #6B0229 #A70440

Accessibility & contrast

On white

18.52
#2F0112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2F0112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0112
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0112#FFFFFF#000000##FFFFFF
##2F01121.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D12
Deuteranopia (green-blind)
#181711
Tritanopia (blue-blind)
#340007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f0112;
/* rgb */ color: rgb(47, 1, 18);
/* oklch */ color: oklch(19.9% 0.077 3.5);
Tailwind
colors: {
  custom: {
    50: '#6b4650',
    500: '#2f0112',
    950: '#000000',
  },
}
SCSS
$custom: #2f0112;
$custom-light: #6b4650;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0112",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 337.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19862,
    "c": 0.07718,
    "h": 3.5
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#2F0112
secondary
#177552
accent
#FFB029
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0112

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

Preview Lab → · Contrast checker → · Palette generator →

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