#2F0312#2F0312

#2F0312 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.073 H 5.0°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#2F0312
RGBrgb(47, 3, 18)
HSLhsl(340, 88%, 10%)
HSVhsv(340, 94%, 18%)
CMYKcmyk(0%, 93.6%, 61.7%, 81.6%)
CIE-LABlab(6.44, 23.27, 1.95)
CIE-LCHlch(6.44, 23.35, 4.78°)
OKLaboklab(20.2% 0.0727 0.0063)
OKLCHoklch(20.2% 0.073 5)
XYZxyz(1.3142, 0.7133, 0.6406)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0312 #032F20
analogous
#2F0328 #2F0312 #2F0A03
triadic
#2F0312 #122F03 #03122F
tetradic
#2F0312 #282F03 #032F20 #0A032F
square
#2F0312 #282F03 #032F20 #0A032F
split-complementary
#2F0312 #032F0A #03282F
monochromatic
#1D020B #1D020B #2F0312 #690728 #A20A3E

Accessibility & contrast

On white

18.38
#2F0312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0312
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0312#FFFFFF#000000##FFFFFF
##2F03121.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#191811
Tritanopia (blue-blind)
#340009
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0312;
/* rgb */ color: rgb(47, 3, 18);
/* oklch */ color: oklch(20.2% 0.073 5.0);
Tailwind
colors: {
  custom: {
    50: '#6b4850',
    500: '#2f0312',
    950: '#000000',
  },
}
SCSS
$custom: #2f0312;
$custom-light: #6b4850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0312",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 339.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.202,
    "c": 0.07299,
    "h": 5
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#2F0312
secondary
#1B7355
accent
#FEB62A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0312

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

Preview Lab → · Contrast checker → · Palette generator →

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