#2F0718#2F0718

#2F0718 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.068 H 358.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2F0718
RGBrgb(47, 7, 24)
HSLhsl(335, 74%, 11%)
HSVhsv(335, 85%, 18%)
CMYKcmyk(0%, 85.1%, 48.9%, 81.6%)
CIE-LABlab(7.43, 21.96, -0.76)
CIE-LCHlch(7.43, 21.98, 358.03°)
OKLaboklab(21.07% 0.0675 -0.0018)
OKLCHoklch(21.07% 0.068 358.5)
XYZxyz(1.4132, 0.8224, 0.9483)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0718 #072F1E
analogous
#2F072C #2F0718 #2F0A07
triadic
#2F0718 #182F07 #07182F
tetradic
#2F0718 #2C2F07 #072F1E #0A072F
square
#2F0718 #2C2F07 #072F1E #0A072F
split-complementary
#2F0718 #072F0A #072C2F
monochromatic
#1B040E #1B040E #2F0718 #640F33 #9A174E

Accessibility & contrast

On white

18.04
#2F0718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0718
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0718#FFFFFF#000000##FFFFFF
##2F07181.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1218
Deuteranopia (green-blind)
#1A1917
Tritanopia (blue-blind)
#34040E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0718;
/* rgb */ color: rgb(47, 7, 24);
/* oklch */ color: oklch(21.1% 0.068 358.5);
Tailwind
colors: {
  custom: {
    50: '#6a4a54',
    500: '#2f0718',
    950: '#000000',
  },
}
SCSS
$custom: #2f0718;
$custom-light: #6a4a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0718",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 334.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2107,
    "c": 0.06756,
    "h": 358.5
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#2F0718
secondary
#236F4F
accent
#F1A237
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0718

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

Preview Lab → · Contrast checker → · Palette generator →

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