#2F011C#2F011C

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

Color values

HEX#2F011C
RGBrgb(47, 1, 28)
HSLhsl(325, 96%, 9%)
HSVhsv(325, 98%, 18%)
CMYKcmyk(0%, 97.9%, 40.4%, 81.6%)
CIE-LABlab(6.41, 25.74, -5.39)
CIE-LCHlch(6.41, 26.30, 348.18°)
OKLaboklab(20.31% 0.0807 -0.0146)
OKLCHoklch(20.31% 0.082 349.7)
XYZxyz(1.3928, 0.7101, 1.1621)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F011C #012F14
analogous
#2B012F #2F011C #2F0105
triadic
#2F011C #1C2F01 #011C2F
tetradic
#2F011C #2F2B01 #012F14 #01052F
square
#2F011C #2F2B01 #012F14 #01052F
split-complementary
#2F011C #052F01 #012F2B
monochromatic
#1E0112 #1E0112 #2F011C #6B0240 #A70463

Accessibility & contrast

On white

18.39
#2F011C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F011C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F011C
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F011C#FFFFFF#000000##FFFFFF
##2F011C1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1D
Deuteranopia (green-blind)
#16171B
Tritanopia (blue-blind)
#33000D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f011c;
/* rgb */ color: rgb(47, 1, 28);
/* oklch */ color: oklch(20.3% 0.082 349.7);
Tailwind
colors: {
  custom: {
    50: '#6a4758',
    500: '#2f011c',
    950: '#000000',
  },
}
SCSS
$custom: #2f011c;
$custom-light: #6a4758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f011c",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 28
  },
  "hsl": {
    "h": 324.783,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20313,
    "c": 0.08199,
    "h": 349.7
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#2F011C
secondary
#17753E
accent
#FF8129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F011C

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

Preview Lab → · Contrast checker → · Palette generator →

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