#2F0A1A#2F0A1A

#2F0A1A is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.063 H 357.1°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2F0A1A
RGBrgb(47, 10, 26)
HSLhsl(334, 65%, 11%)
HSVhsv(334, 79%, 18%)
CMYKcmyk(0%, 78.7%, 44.7%, 81.6%)
CIE-LABlab(8.10, 20.64, -1.33)
CIE-LCHlch(8.10, 20.69, 356.30°)
OKLaboklab(21.6% 0.0631 -0.0032)
OKLCHoklch(21.6% 0.063 357.1)
XYZxyz(1.4674, 0.8962, 1.0728)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A1A #0A2F1F
analogous
#2F0A2C #2F0A1A #2F0C0A
triadic
#2F0A1A #1A2F0A #0A1A2F
tetradic
#2F0A1A #2C2F0A #0A2F1F #0C0A2F
square
#2F0A1A #2C2F0A #0A2F1F #0C0A2F
split-complementary
#2F0A1A #0A2F0C #0A2C2F
monochromatic
#19050E #19050E #2F0A1A #611536 #941F52

Accessibility & contrast

On white

17.81
#2F0A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A1A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A1A#FFFFFF#000000##FFFFFF
##2F0A1A1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11131A
Deuteranopia (green-blind)
#1B1A19
Tritanopia (blue-blind)
#330710
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0a1a;
/* rgb */ color: rgb(47, 10, 26);
/* oklch */ color: oklch(21.6% 0.063 357.1);
Tailwind
colors: {
  custom: {
    50: '#6a4c56',
    500: '#2f0a1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a1a;
$custom-light: #6a4c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a1a",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 26
  },
  "hsl": {
    "h": 334.054,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21599,
    "c": 0.06321,
    "h": 357.1
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#2F0A1A
secondary
#296C4F
accent
#E89F40
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F0A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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