#2F1126#2F1126

#2F1126 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.3% C 0.058 H 340.3°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#2F1126
RGBrgb(47, 17, 38)
HSLhsl(318, 47%, 13%)
HSVhsv(318, 64%, 18%)
CMYKcmyk(0%, 63.8%, 19.1%, 81.6%)
CIE-LABlab(10.15, 18.63, -7.37)
CIE-LCHlch(10.15, 20.04, 338.43°)
OKLaboklab(23.3% 0.055 -0.0197)
OKLCHoklch(23.3% 0.058 340.3)
XYZxyz(1.7226, 1.1453, 1.9637)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1126 #112F1A
analogous
#29112F #2F1126 #2F1117
triadic
#2F1126 #262F11 #11262F
tetradic
#2F1126 #2F2911 #112F1A #11172F
square
#2F1126 #2F2911 #112F1A #11172F
split-complementary
#2F1126 #172F11 #112F29
monochromatic
#160812 #160812 #2F1126 #5C214A #89326F

Accessibility & contrast

On white

17.09
#2F1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F1126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1126
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1126#FFFFFF#000000##FFFFFF
##2F11261.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121927
Deuteranopia (green-blind)
#1B1E25
Tritanopia (blue-blind)
#321219
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f1126;
/* rgb */ color: rgb(47, 17, 38);
/* oklch */ color: oklch(23.3% 0.058 340.3);
Tailwind
colors: {
  custom: {
    50: '#695060',
    500: '#2f1126',
    950: '#000000',
  },
}
SCSS
$custom: #2f1126;
$custom-light: #695060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1126",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 318,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.05841,
    "h": 340.3
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#2F1126
secondary
#346744
accent
#D77951
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2F1126

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

Preview Lab → · Contrast checker → · Palette generator →

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