#2F0918#2F0918

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

Color values

HEX#2F0918
RGBrgb(47, 9, 24)
HSLhsl(336, 68%, 11%)
HSVhsv(336, 81%, 18%)
CMYKcmyk(0%, 80.9%, 48.9%, 81.6%)
CIE-LABlab(7.82, 20.90, -0.18)
CIE-LCHlch(7.82, 20.90, 359.50°)
OKLaboklab(21.37% 0.064 -0.0002)
OKLCHoklch(21.37% 0.064 359.8)
XYZxyz(1.4349, 0.8658, 0.9555)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0918 #092F20
analogous
#2F092B #2F0918 #2F0D09
triadic
#2F0918 #182F09 #09182F
tetradic
#2F0918 #2B2F09 #092F20 #0D092F
square
#2F0918 #2B2F09 #092F20 #0D092F
split-complementary
#2F0918 #092F0D #092B2F
monochromatic
#1A050D #1A050D #2F0918 #621332 #961D4C

Accessibility & contrast

On white

17.90
#2F0918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0918
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0918#FFFFFF#000000##FFFFFF
##2F09181.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0918;
/* rgb */ color: rgb(47, 9, 24);
/* oklch */ color: oklch(21.4% 0.064 359.8);
Tailwind
colors: {
  custom: {
    50: '#6a4b54',
    500: '#2f0918',
    950: '#000000',
  },
}
SCSS
$custom: #2f0918;
$custom-light: #6a4b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0918",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 24
  },
  "hsl": {
    "h": 336.316,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2137,
    "c": 0.06399,
    "h": 359.8
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#2F0918
secondary
#276D51
accent
#EBA63D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0918

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

Preview Lab → · Contrast checker → · Palette generator →

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