#2F0A18#2F0A18

#2F0A18 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.062 H 0.5°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2F0A18
RGBrgb(47, 10, 24)
HSLhsl(337, 65%, 11%)
HSVhsv(337, 79%, 18%)
CMYKcmyk(0%, 78.7%, 48.9%, 81.6%)
CIE-LABlab(8.02, 20.37, 0.10)
CIE-LCHlch(8.02, 20.37, 0.29°)
OKLaboklab(21.52% 0.0623 0.0005)
OKLCHoklch(21.52% 0.062 0.5)
XYZxyz(1.4458, 0.8875, 0.9591)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A18 #0A2F21
analogous
#2F0A2A #2F0A18 #2F0E0A
triadic
#2F0A18 #182F0A #0A182F
tetradic
#2F0A18 #2A2F0A #0A2F21 #0E0A2F
square
#2F0A18 #2A2F0A #0A2F21 #0E0A2F
split-complementary
#2F0A18 #0A2F0E #0A2A2F
monochromatic
#19050D #19050D #2F0A18 #611532 #941F4C

Accessibility & contrast

On white

17.84
#2F0A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A18
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A18#FFFFFF#000000##FFFFFF
##2F0A181.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111318
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#340610
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0a18;
/* rgb */ color: rgb(47, 10, 24);
/* oklch */ color: oklch(21.5% 0.062 0.5);
Tailwind
colors: {
  custom: {
    50: '#6a4c54',
    500: '#2f0a18',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a18;
$custom-light: #6a4c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a18",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 24
  },
  "hsl": {
    "h": 337.297,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21516,
    "c": 0.06228,
    "h": 0.5
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#2F0A18
secondary
#296C53
accent
#E8A840
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0A18

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

Preview Lab → · Contrast checker → · Palette generator →

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