#2F081F#2F081F

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

Color values

HEX#2F081F
RGBrgb(47, 8, 31)
HSLhsl(325, 71%, 11%)
HSVhsv(325, 83%, 18%)
CMYKcmyk(0%, 83%, 34%, 81.6%)
CIE-LABlab(7.92, 22.48, -5.45)
CIE-LCHlch(7.92, 23.13, 346.37°)
OKLaboklab(21.54% 0.0683 -0.0143)
OKLCHoklch(21.54% 0.07 348.2)
XYZxyz(1.5065, 0.8771, 1.3860)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F081F #082F18
analogous
#2B082F #2F081F #2F080B
triadic
#2F081F #1F2F08 #081F2F
tetradic
#2F081F #2F2B08 #082F18 #080B2F
square
#2F081F #2F2B08 #082F18 #080B2F
split-complementary
#2F081F #0B2F08 #082F2B
monochromatic
#1A0411 #1A0411 #2F081F #631141 #981A64

Accessibility & contrast

On white

17.87
#2F081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F081F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F081F#FFFFFF#000000##FFFFFF
##2F081F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#330712
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f081f;
/* rgb */ color: rgb(47, 8, 31);
/* oklch */ color: oklch(21.5% 0.070 348.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b5a',
    500: '#2f081f',
    950: '#000000',
  },
}
SCSS
$custom: #2f081f;
$custom-light: #6a4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f081f",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 324.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21544,
    "c": 0.06981,
    "h": 348.2
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#2F081F
secondary
#256E43
accent
#EE843A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2F081F

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

Preview Lab → · Contrast checker → · Palette generator →

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