#2F0E26#2F0E26

#2F0E26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.8% C 0.064 H 339.5°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2F0E26
RGBrgb(47, 14, 38)
HSLhsl(316, 54%, 12%)
HSVhsv(316, 70%, 18%)
CMYKcmyk(0%, 70.2%, 19.1%, 81.6%)
CIE-LABlab(9.47, 20.44, -8.41)
CIE-LCHlch(9.47, 22.10, 337.65°)
OKLaboklab(22.8% 0.0604 -0.0226)
OKLCHoklch(22.8% 0.064 339.5)
XYZxyz(1.6792, 1.0585, 1.9492)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E26 #0E2F17
analogous
#280E2F #2F0E26 #2F0E16
triadic
#2F0E26 #262F0E #0E262F
tetradic
#2F0E26 #2F280E #0E2F17 #0E162F
square
#2F0E26 #2F280E #0E2F17 #0E162F
split-complementary
#2F0E26 #162F0E #0E2F28
monochromatic
#180713 #180713 #2F0E26 #5E1C4C #8D2A72

Accessibility & contrast

On white

17.33
#2F0E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E26
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E26#FFFFFF#000000##FFFFFF
##2F0E261.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101727
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#320F18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0e26;
/* rgb */ color: rgb(47, 14, 38);
/* oklch */ color: oklch(22.8% 0.064 339.5);
Tailwind
colors: {
  custom: {
    50: '#694e60',
    500: '#2f0e26',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e26;
$custom-light: #694e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e26",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 316.364,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22796,
    "c": 0.06446,
    "h": 339.5
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#2F0E26
secondary
#2F693F
accent
#DD724A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2F0E26

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

Preview Lab → · Contrast checker → · Palette generator →

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