#2F0A1B#2F0A1B

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

Color values

HEX#2F0A1B
RGBrgb(47, 10, 27)
HSLhsl(332, 65%, 11%)
HSVhsv(332, 79%, 18%)
CMYKcmyk(0%, 78.7%, 42.6%, 81.6%)
CIE-LABlab(8.14, 20.79, -2.05)
CIE-LCHlch(8.14, 20.89, 354.38°)
OKLaboklab(21.64% 0.0635 -0.0051)
OKLCHoklch(21.64% 0.064 355.4)
XYZxyz(1.4787, 0.9007, 1.1327)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A1B #0A2F1E
analogous
#2F0A2D #2F0A1B #2F0B0A
triadic
#2F0A1B #1B2F0A #0A1B2F
tetradic
#2F0A1B #2D2F0A #0A2F1E #0B0A2F
square
#2F0A1B #2D2F0A #0A2F1E #0B0A2F
split-complementary
#2F0A1B #0A2F0B #0A2D2F
monochromatic
#19050E #19050E #2F0A1B #611538 #941F55

Accessibility & contrast

On white

17.79
#2F0A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A1B
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A1B#FFFFFF#000000##FFFFFF
##2F0A1B1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10131B
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#330711
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0a1b;
/* rgb */ color: rgb(47, 10, 27);
/* oklch */ color: oklch(21.6% 0.064 355.4);
Tailwind
colors: {
  custom: {
    50: '#6a4c57',
    500: '#2f0a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a1b;
$custom-light: #6a4c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a1b",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 27
  },
  "hsl": {
    "h": 332.432,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21642,
    "c": 0.06374,
    "h": 355.4
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2F0A1B
secondary
#296C4D
accent
#E89B40
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F0A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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