#2F0D21#2F0D21

#2F0D21 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.062 H 346.9°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2F0D21
RGBrgb(47, 13, 33)
HSLhsl(325, 57%, 12%)
HSVhsv(325, 72%, 18%)
CMYKcmyk(0%, 72.3%, 29.8%, 81.6%)
CIE-LABlab(9.01, 20.10, -5.33)
CIE-LCHlch(9.01, 20.80, 345.14°)
OKLaboklab(22.38% 0.0606 -0.014)
OKLCHoklch(22.38% 0.062 346.9)
XYZxyz(1.5908, 1.0021, 1.5482)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D21 #0D2F1B
analogous
#2C0D2F #2F0D21 #2F0D10
triadic
#2F0D21 #212F0D #0D212F
tetradic
#2F0D21 #2F2C0D #0D2F1B #0D102F
square
#2F0D21 #2F2C0D #0D2F1B #0D102F
split-complementary
#2F0D21 #102F0D #0D2F2C
monochromatic
#180711 #180711 #2F0D21 #5F1A43 #8F2864

Accessibility & contrast

On white

17.49
#2F0D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D21
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D21#FFFFFF#000000##FFFFFF
##2F0D211.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111622
Deuteranopia (green-blind)
#1A1C20
Tritanopia (blue-blind)
#330C15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0d21;
/* rgb */ color: rgb(47, 13, 33);
/* oklch */ color: oklch(22.4% 0.062 346.9);
Tailwind
colors: {
  custom: {
    50: '#694e5c',
    500: '#2f0d21',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d21;
$custom-light: #694e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d21",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 33
  },
  "hsl": {
    "h": 324.706,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22375,
    "c": 0.06221,
    "h": 346.9
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#2F0D21
secondary
#2E6A47
accent
#E08648
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0D21

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

Preview Lab → · Contrast checker → · Palette generator →

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