#2F0921#2F0921

#2F0921 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.069 H 345.5°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2F0921
RGBrgb(47, 9, 33)
HSLhsl(322, 68%, 11%)
HSVhsv(322, 81%, 18%)
CMYKcmyk(0%, 80.9%, 29.8%, 81.6%)
CIE-LABlab(8.22, 22.27, -6.54)
CIE-LCHlch(8.22, 23.21, 343.63°)
OKLaboklab(21.79% 0.0673 -0.0173)
OKLCHoklch(21.79% 0.069 345.5)
XYZxyz(1.5445, 0.9097, 1.5328)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0921 #092F17
analogous
#2A092F #2F0921 #2F090E
triadic
#2F0921 #212F09 #09212F
tetradic
#2F0921 #2F2A09 #092F17 #090E2F
square
#2F0921 #2F2A09 #092F17 #090E2F
split-complementary
#2F0921 #0E2F09 #092F2A
monochromatic
#1A0512 #1A0512 #2F0921 #621345 #961D69

Accessibility & contrast

On white

17.77
#2F0921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0921
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0921#FFFFFF#000000##FFFFFF
##2F09211.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1422
Deuteranopia (green-blind)
#181A20
Tritanopia (blue-blind)
#330813
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0921;
/* rgb */ color: rgb(47, 9, 33);
/* oklch */ color: oklch(21.8% 0.069 345.5);
Tailwind
colors: {
  custom: {
    50: '#694b5c',
    500: '#2f0921',
    950: '#000000',
  },
}
SCSS
$custom: #2f0921;
$custom-light: #694b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0921",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 33
  },
  "hsl": {
    "h": 322.105,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2179,
    "c": 0.06945,
    "h": 345.5
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#2F0921
secondary
#276D41
accent
#EB7D3D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0921

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

Preview Lab → · Contrast checker → · Palette generator →

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