#2F081C#2F081C

#2F081C is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.4% C 0.068 H 352.7°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2F081C
RGBrgb(47, 8, 28)
HSLhsl(329, 71%, 11%)
HSVhsv(329, 83%, 18%)
CMYKcmyk(0%, 83%, 40.4%, 81.6%)
CIE-LABlab(7.79, 22.01, -3.34)
CIE-LCHlch(7.79, 22.27, 351.37°)
OKLaboklab(21.4% 0.0673 -0.0086)
OKLCHoklch(21.4% 0.068 352.7)
XYZxyz(1.4688, 0.8620, 1.1874)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F081C #082F1B
analogous
#2E082F #2F081C #2F0808
triadic
#2F081C #1C2F08 #081C2F
tetradic
#2F081C #2F2E08 #082F1B #08082F
square
#2F081C #2F2E08 #082F1B #08082F
split-complementary
#2F081C #082F08 #082F2E
monochromatic
#1A0410 #1A0410 #2F081C #63113B #981A5A

Accessibility & contrast

On white

17.91
#2F081C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F081C
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F081C#FFFFFF#000000##FFFFFF
##2F081C1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131D
Deuteranopia (green-blind)
#191A1B
Tritanopia (blue-blind)
#330610
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f081c;
/* rgb */ color: rgb(47, 8, 28);
/* oklch */ color: oklch(21.4% 0.068 352.7);
Tailwind
colors: {
  custom: {
    50: '#6a4b57',
    500: '#2f081c',
    950: '#000000',
  },
}
SCSS
$custom: #2f081c;
$custom-light: #6a4b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f081c",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 28
  },
  "hsl": {
    "h": 329.231,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21397,
    "c": 0.06786,
    "h": 352.7
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#2F081C
secondary
#256E48
accent
#EE923A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F081C

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

Preview Lab → · Contrast checker → · Palette generator →

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