#2F0720#2F0720

#2F0720 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.072 H 346.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2F0720
RGBrgb(47, 7, 32)
HSLhsl(323, 74%, 11%)
HSVhsv(323, 85%, 18%)
CMYKcmyk(0%, 85.1%, 31.9%, 81.6%)
CIE-LABlab(7.77, 23.19, -6.45)
CIE-LCHlch(7.77, 24.07, 344.46°)
OKLaboklab(21.45% 0.0703 -0.0171)
OKLCHoklch(21.45% 0.072 346.4)
XYZxyz(1.5090, 0.8607, 1.4529)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0720 #072F16
analogous
#2A072F #2F0720 #2F070C
triadic
#2F0720 #202F07 #07202F
tetradic
#2F0720 #2F2A07 #072F16 #070C2F
square
#2F0720 #2F2A07 #072F16 #070C2F
split-complementary
#2F0720 #0C2F07 #072F2A
monochromatic
#1B0412 #1B0412 #2F0720 #640F44 #9A1769

Accessibility & contrast

On white

17.92
#2F0720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0720
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0720#FFFFFF#000000##FFFFFF
##2F07201.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1321
Deuteranopia (green-blind)
#181A1F
Tritanopia (blue-blind)
#330612
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0720;
/* rgb */ color: rgb(47, 7, 32);
/* oklch */ color: oklch(21.5% 0.072 346.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a5b',
    500: '#2f0720',
    950: '#000000',
  },
}
SCSS
$custom: #2f0720;
$custom-light: #6a4a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0720",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 322.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21451,
    "c": 0.07238,
    "h": 346.4
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#2F0720
secondary
#236F3F
accent
#F17D37
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0720

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

Preview Lab → · Contrast checker → · Palette generator →

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