#2F0D26#2F0D26

#2F0D26 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.066 H 339.3°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2F0D26
RGBrgb(47, 13, 38)
HSLhsl(316, 57%, 12%)
HSVhsv(316, 72%, 18%)
CMYKcmyk(0%, 72.3%, 19.1%, 81.6%)
CIE-LABlab(9.26, 21.02, -8.73)
CIE-LCHlch(9.26, 22.76, 337.44°)
OKLaboklab(22.64% 0.0621 -0.0235)
OKLCHoklch(22.64% 0.066 339.3)
XYZxyz(1.6661, 1.0323, 1.9448)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D26 #0D2F16
analogous
#270D2F #2F0D26 #2F0D15
triadic
#2F0D26 #262F0D #0D262F
tetradic
#2F0D26 #2F270D #0D2F16 #0D152F
square
#2F0D26 #2F270D #0D2F16 #0D152F
split-complementary
#2F0D26 #152F0D #0D2F27
monochromatic
#180713 #180713 #2F0D26 #5F1A4D #8F2874

Accessibility & contrast

On white

17.41
#2F0D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D26
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D26#FFFFFF#000000##FFFFFF
##2F0D261.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1727
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#320E17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0d26;
/* rgb */ color: rgb(47, 13, 38);
/* oklch */ color: oklch(22.6% 0.066 339.3);
Tailwind
colors: {
  custom: {
    50: '#694e60',
    500: '#2f0d26',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d26;
$custom-light: #694e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d26",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 315.882,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2264,
    "c": 0.06639,
    "h": 339.3
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#2F0D26
secondary
#2E6A3E
accent
#E07048
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0D26

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

Preview Lab → · Contrast checker → · Palette generator →

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