#2F0D1F#2F0D1F

#2F0D1F is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.061 H 350.3°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0D1F
RGBrgb(47, 13, 31)
HSLhsl(328, 57%, 12%)
HSVhsv(328, 72%, 18%)
CMYKcmyk(0%, 72.3%, 34%, 81.6%)
CIE-LABlab(8.92, 19.76, -3.95)
CIE-LCHlch(8.92, 20.15, 348.70°)
OKLaboklab(22.28% 0.0599 -0.0103)
OKLCHoklch(22.28% 0.061 350.3)
XYZxyz(1.5636, 0.9913, 1.4050)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D1F #0D2F1D
analogous
#2E0D2F #2F0D1F #2F0D0E
triadic
#2F0D1F #1F2F0D #0D1F2F
tetradic
#2F0D1F #2F2E0D #0D2F1D #0D0E2F
square
#2F0D1F #2F2E0D #0D2F1D #0D0E2F
split-complementary
#2F0D1F #0E2F0D #0D2F2E
monochromatic
#180710 #180710 #2F0D1F #5F1A3F #8F285E

Accessibility & contrast

On white

17.53
#2F0D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D1F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D1F#FFFFFF#000000##FFFFFF
##2F0D1F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111620
Deuteranopia (green-blind)
#1B1C1E
Tritanopia (blue-blind)
#330C14
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0d1f;
/* rgb */ color: rgb(47, 13, 31);
/* oklch */ color: oklch(22.3% 0.061 350.3);
Tailwind
colors: {
  custom: {
    50: '#694e5a',
    500: '#2f0d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d1f;
$custom-light: #694e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d1f",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 328.235,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22278,
    "c": 0.06076,
    "h": 350.3
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#2F0D1F
secondary
#2E6A4A
accent
#E08F48
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2F0D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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