#2F0724#2F0724

#2F0724 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.075 H 340.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2F0724
RGBrgb(47, 7, 36)
HSLhsl(317, 74%, 11%)
HSVhsv(317, 85%, 18%)
CMYKcmyk(0%, 85.1%, 23.4%, 81.6%)
CIE-LABlab(7.98, 23.87, -9.19)
CIE-LCHlch(7.98, 25.58, 338.95°)
OKLaboklab(21.67% 0.0713 -0.0247)
OKLCHoklch(21.67% 0.075 340.9)
XYZxyz(1.5668, 0.8838, 1.7568)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0724 #072F12
analogous
#26072F #2F0724 #2F0710
triadic
#2F0724 #242F07 #07242F
tetradic
#2F0724 #2F2607 #072F12 #07102F
square
#2F0724 #2F2607 #072F12 #07102F
split-complementary
#2F0724 #102F07 #072F26
monochromatic
#1B0414 #1B0414 #2F0724 #640F4D #9A1776

Accessibility & contrast

On white

17.85
#2F0724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0724
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0724#FFFFFF#000000##FFFFFF
##2F07241.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1325
Deuteranopia (green-blind)
#161A23
Tritanopia (blue-blind)
#320814
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0724;
/* rgb */ color: rgb(47, 7, 36);
/* oklch */ color: oklch(21.7% 0.075 340.9);
Tailwind
colors: {
  custom: {
    50: '#694a5e',
    500: '#2f0724',
    950: '#000000',
  },
}
SCSS
$custom: #2f0724;
$custom-light: #694a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0724",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 316.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21673,
    "c": 0.07549,
    "h": 340.9
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#2F0724
secondary
#236F38
accent
#F16A37
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0724

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

Preview Lab → · Contrast checker → · Palette generator →

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