#2F0917#2F0917

#2F0917 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.3% C 0.064 H 1.5°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2F0917
RGBrgb(47, 9, 23)
HSLhsl(338, 68%, 11%)
HSVhsv(338, 81%, 18%)
CMYKcmyk(0%, 80.9%, 51.1%, 81.6%)
CIE-LABlab(7.78, 20.77, 0.52)
CIE-LCHlch(7.78, 20.77, 1.44°)
OKLaboklab(21.33% 0.0636 0.0016)
OKLCHoklch(21.33% 0.064 1.5)
XYZxyz(1.4247, 0.8617, 0.9018)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0917 #092F21
analogous
#2F092A #2F0917 #2F0E09
triadic
#2F0917 #172F09 #09172F
tetradic
#2F0917 #2A2F09 #092F21 #0E092F
square
#2F0917 #2A2F09 #092F21 #0E092F
split-complementary
#2F0917 #092F0E #092A2F
monochromatic
#1A050D #1A050D #2F0917 #621330 #961D49

Accessibility & contrast

On white

17.91
#2F0917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0917
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0917#FFFFFF#000000##FFFFFF
##2F09171.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111217
Deuteranopia (green-blind)
#1B1A16
Tritanopia (blue-blind)
#34050F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0917;
/* rgb */ color: rgb(47, 9, 23);
/* oklch */ color: oklch(21.3% 0.064 1.5);
Tailwind
colors: {
  custom: {
    50: '#6a4b53',
    500: '#2f0917',
    950: '#000000',
  },
}
SCSS
$custom: #2f0917;
$custom-light: #6a4b53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0917",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 23
  },
  "hsl": {
    "h": 337.895,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21329,
    "c": 0.06357,
    "h": 1.5
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#2F0917
secondary
#276D53
accent
#EBAB3D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0917

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

Preview Lab → · Contrast checker → · Palette generator →

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