#2F0722#2F0722

#2F0722 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.074 H 343.6°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2F0722
RGBrgb(47, 7, 34)
HSLhsl(320, 74%, 11%)
HSVhsv(320, 85%, 18%)
CMYKcmyk(0%, 85.1%, 27.7%, 81.6%)
CIE-LABlab(7.88, 23.53, -7.83)
CIE-LCHlch(7.88, 24.80, 341.60°)
OKLaboklab(21.56% 0.0709 -0.0209)
OKLCHoklch(21.56% 0.074 343.6)
XYZxyz(1.5371, 0.8719, 1.6004)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0722 #072F14
analogous
#28072F #2F0722 #2F070E
triadic
#2F0722 #222F07 #07222F
tetradic
#2F0722 #2F2807 #072F14 #070E2F
square
#2F0722 #2F2807 #072F14 #070E2F
split-complementary
#2F0722 #0E2F07 #072F28
monochromatic
#1B0413 #1B0413 #2F0722 #640F49 #9A176F

Accessibility & contrast

On white

17.88
#2F0722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0722
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0722#FFFFFF#000000##FFFFFF
##2F07221.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1323
Deuteranopia (green-blind)
#171A21
Tritanopia (blue-blind)
#330713
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0722;
/* rgb */ color: rgb(47, 7, 34);
/* oklch */ color: oklch(21.6% 0.074 343.6);
Tailwind
colors: {
  custom: {
    50: '#6a4a5d',
    500: '#2f0722',
    950: '#000000',
  },
}
SCSS
$custom: #2f0722;
$custom-light: #6a4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0722",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 319.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21559,
    "c": 0.07388,
    "h": 343.6
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#2F0722
secondary
#236F3C
accent
#F17337
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0722

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

Preview Lab → · Contrast checker → · Palette generator →

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