#2F0817#2F0817

#2F0817 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.065 H 0.8°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2F0817
RGBrgb(47, 8, 23)
HSLhsl(337, 71%, 11%)
HSVhsv(337, 83%, 18%)
CMYKcmyk(0%, 83%, 51.1%, 81.6%)
CIE-LABlab(7.59, 21.30, 0.24)
CIE-LCHlch(7.59, 21.30, 0.64°)
OKLaboklab(21.18% 0.0653 0.0009)
OKLCHoklch(21.18% 0.065 0.8)
XYZxyz(1.4139, 0.8400, 0.8981)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0817 #082F20
analogous
#2F082A #2F0817 #2F0C08
triadic
#2F0817 #172F08 #08172F
tetradic
#2F0817 #2A2F08 #082F20 #0C082F
square
#2F0817 #2A2F08 #082F20 #0C082F
split-complementary
#2F0817 #082F0C #082A2F
monochromatic
#1A040D #1A040D #2F0817 #631131 #981A4A

Accessibility & contrast

On white

17.98
#2F0817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0817
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0817#FFFFFF#000000##FFFFFF
##2F08171.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101217
Deuteranopia (green-blind)
#1A1916
Tritanopia (blue-blind)
#34040E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0817;
/* rgb */ color: rgb(47, 8, 23);
/* oklch */ color: oklch(21.2% 0.065 0.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a53',
    500: '#2f0817',
    950: '#000000',
  },
}
SCSS
$custom: #2f0817;
$custom-light: #6a4a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0817",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 23
  },
  "hsl": {
    "h": 336.923,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2118,
    "c": 0.06532,
    "h": 0.8
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2F0817
secondary
#256E52
accent
#EEA93A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0817

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

Preview Lab → · Contrast checker → · Palette generator →

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