#2F0717#2F0717

#2F0717 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.067 H 0.1°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2F0717
RGBrgb(47, 7, 23)
HSLhsl(336, 74%, 11%)
HSVhsv(336, 85%, 18%)
CMYKcmyk(0%, 85.1%, 51.1%, 81.6%)
CIE-LABlab(7.39, 21.83, -0.05)
CIE-LCHlch(7.39, 21.83, 359.87°)
OKLaboklab(21.03% 0.0671 0.0001)
OKLCHoklch(21.03% 0.067 0.1)
XYZxyz(1.4030, 0.8183, 0.8945)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0717 #072F1F
analogous
#2F072B #2F0717 #2F0B07
triadic
#2F0717 #172F07 #07172F
tetradic
#2F0717 #2B2F07 #072F1F #0B072F
square
#2F0717 #2B2F07 #072F1F #0B072F
split-complementary
#2F0717 #072F0B #072B2F
monochromatic
#1B040D #1B040D #2F0717 #640F31 #9A174B

Accessibility & contrast

On white

18.05
#2F0717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0717
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0717#FFFFFF#000000##FFFFFF
##2F07171.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1117
Deuteranopia (green-blind)
#1A1916
Tritanopia (blue-blind)
#34030E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0717;
/* rgb */ color: rgb(47, 7, 23);
/* oklch */ color: oklch(21.0% 0.067 0.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a53',
    500: '#2f0717',
    950: '#000000',
  },
}
SCSS
$custom: #2f0717;
$custom-light: #6a4a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0717",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 336,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21029,
    "c": 0.06712,
    "h": 0.1
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2F0717
secondary
#236F50
accent
#F1A637
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0717

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

Preview Lab → · Contrast checker → · Palette generator →

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