#2F112A#2F112A

#2F112A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.062 H 334.1°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2F112A
RGBrgb(47, 17, 42)
HSLhsl(310, 47%, 13%)
HSVhsv(310, 64%, 18%)
CMYKcmyk(0%, 63.8%, 10.6%, 81.6%)
CIE-LABlab(10.35, 19.45, -10.03)
CIE-LCHlch(10.35, 21.89, 332.74°)
OKLaboklab(23.52% 0.0561 -0.0272)
OKLCHoklch(23.52% 0.062 334.1)
XYZxyz(1.7907, 1.1725, 2.3220)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F112A #112F16
analogous
#25112F #2F112A #2F111B
triadic
#2F112A #2A2F11 #112A2F
tetradic
#2F112A #2F2511 #112F16 #111B2F
square
#2F112A #2F2511 #112F16 #111B2F
split-complementary
#2F112A #1B2F11 #112F25
monochromatic
#160814 #160814 #2F112A #5C2152 #89327A

Accessibility & contrast

On white

17.01
#2F112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F112A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F112A#FFFFFF#000000##FFFFFF
##2F112A1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192B
Deuteranopia (green-blind)
#191E29
Tritanopia (blue-blind)
#31131B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f112a;
/* rgb */ color: rgb(47, 17, 42);
/* oklch */ color: oklch(23.5% 0.062 334.1);
Tailwind
colors: {
  custom: {
    50: '#695063',
    500: '#2f112a',
    950: '#000000',
  },
}
SCSS
$custom: #2f112a;
$custom-light: #695063;
$custom-dark: #000000;
JSON
{
  "hex": "#2f112a",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 310,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23518,
    "c": 0.06235,
    "h": 334.1
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2F112A
secondary
#34673D
accent
#D76751
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F112A

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

Preview Lab → · Contrast checker → · Palette generator →

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