#2F0617#2F0617

#2F0617 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 359.4°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#2F0617
RGBrgb(47, 6, 23)
HSLhsl(335, 77%, 10%)
HSVhsv(335, 87%, 18%)
CMYKcmyk(0%, 87.2%, 51.1%, 81.6%)
CIE-LABlab(7.20, 22.36, -0.34)
CIE-LCHlch(7.20, 22.36, 359.14°)
OKLaboklab(20.88% 0.069 -0.0007)
OKLCHoklch(20.88% 0.069 359.4)
XYZxyz(1.3922, 0.7966, 0.8909)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0617 #062F1E
analogous
#2F062B #2F0617 #2F0906
triadic
#2F0617 #172F06 #06172F
tetradic
#2F0617 #2B2F06 #062F1E #09062F
square
#2F0617 #2B2F06 #062F1E #09062F
split-complementary
#2F0617 #062F09 #062B2F
monochromatic
#1B030D #1B030D #2F0617 #650D32 #9C144C

Accessibility & contrast

On white

18.12
#2F0617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0617
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0617#FFFFFF#000000##FFFFFF
##2F06171.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1117
Deuteranopia (green-blind)
#1A1916
Tritanopia (blue-blind)
#34020D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0617;
/* rgb */ color: rgb(47, 6, 23);
/* oklch */ color: oklch(20.9% 0.069 359.4);
Tailwind
colors: {
  custom: {
    50: '#6a4953',
    500: '#2f0617',
    950: '#000000',
  },
}
SCSS
$custom: #2f0617;
$custom-light: #6a4953;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0617",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 23
  },
  "hsl": {
    "h": 335.122,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20876,
    "c": 0.06897,
    "h": 359.4
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#2F0617
secondary
#21704F
accent
#F4A434
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0617

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

Preview Lab → · Contrast checker → · Palette generator →

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