#2F011E#2F011E

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

Color values

HEX#2F011E
RGBrgb(47, 1, 30)
HSLhsl(322, 96%, 9%)
HSVhsv(322, 98%, 18%)
CMYKcmyk(0%, 97.9%, 36.2%, 81.6%)
CIE-LABlab(6.50, 26.08, -6.82)
CIE-LCHlch(6.50, 26.96, 345.34°)
OKLaboklab(20.42% 0.0812 -0.0185)
OKLCHoklch(20.42% 0.083 347.1)
XYZxyz(1.4176, 0.7200, 1.2924)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F011E #012F12
analogous
#29012F #2F011E #2F0107
triadic
#2F011E #1E2F01 #011E2F
tetradic
#2F011E #2F2901 #012F12 #01072F
square
#2F011E #2F2901 #012F12 #01072F
split-complementary
#2F011E #072F01 #012F29
monochromatic
#1E0113 #1E0113 #2F011E #6B0244 #A7046B

Accessibility & contrast

On white

18.36
#2F011E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F011E
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F011E#FFFFFF#000000##FFFFFF
##2F011E1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#33000E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f011e;
/* rgb */ color: rgb(47, 1, 30);
/* oklch */ color: oklch(20.4% 0.083 347.1);
Tailwind
colors: {
  custom: {
    50: '#6a4759',
    500: '#2f011e',
    950: '#000000',
  },
}
SCSS
$custom: #2f011e;
$custom-light: #6a4759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f011e",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 30
  },
  "hsl": {
    "h": 322.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20421,
    "c": 0.08326,
    "h": 347.1
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#2F011E
secondary
#17753A
accent
#FF7829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F011E

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

Preview Lab → · Contrast checker → · Palette generator →

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