#2F0626#2F0626

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

Color values

HEX#2F0626
RGBrgb(47, 6, 38)
HSLhsl(313, 77%, 10%)
HSVhsv(313, 87%, 18%)
CMYKcmyk(0%, 87.2%, 19.1%, 81.6%)
CIE-LABlab(7.90, 24.78, -10.84)
CIE-LCHlch(7.90, 27.05, 336.38°)
OKLaboklab(21.65% 0.0734 -0.0294)
OKLCHoklch(21.65% 0.079 338.2)
XYZxyz(1.5873, 0.8747, 1.9186)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0626 #062F0F
analogous
#23062F #2F0626 #2F0611
triadic
#2F0626 #262F06 #06262F
tetradic
#2F0626 #2F2306 #062F0F #06112F
square
#2F0626 #2F2306 #062F0F #06112F
split-complementary
#2F0626 #112F06 #062F23
monochromatic
#1B0316 #1B0316 #2F0626 #650D52 #9C147E

Accessibility & contrast

On white

17.87
#2F0626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0626
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0626#FFFFFF#000000##FFFFFF
##2F06261.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#151A25
Tritanopia (blue-blind)
#320815
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0626;
/* rgb */ color: rgb(47, 6, 38);
/* oklch */ color: oklch(21.6% 0.079 338.2);
Tailwind
colors: {
  custom: {
    50: '#6a4a60',
    500: '#2f0626',
    950: '#000000',
  },
}
SCSS
$custom: #2f0626;
$custom-light: #6a4a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0626",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 38
  },
  "hsl": {
    "h": 313.171,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2165,
    "c": 0.07903,
    "h": 338.2
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#2F0626
secondary
#217032
accent
#F45E34
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0626

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

Preview Lab → · Contrast checker → · Palette generator →

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