#2F122A#2F122A

#2F122A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.060 H 334.2°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2F122A
RGBrgb(47, 18, 42)
HSLhsl(310, 45%, 13%)
HSVhsv(310, 62%, 18%)
CMYKcmyk(0%, 61.7%, 10.6%, 81.6%)
CIE-LABlab(10.59, 18.83, -9.66)
CIE-LCHlch(10.59, 21.16, 332.84°)
OKLaboklab(23.69% 0.0543 -0.0262)
OKLCHoklch(23.69% 0.06 334.2)
XYZxyz(1.8065, 1.2042, 2.3273)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F122A #122F17
analogous
#25122F #2F122A #2F121B
triadic
#2F122A #2A2F12 #122A2F
tetradic
#2F122A #2F2512 #122F17 #121B2F
square
#2F122A #2F2512 #122F17 #121B2F
split-complementary
#2F122A #1B2F12 #122F25
monochromatic
#160814 #160814 #2F122A #5B2352 #883479

Accessibility & contrast

On white

16.92
#2F122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F122A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F122A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F122A#FFFFFF#000000##FFFFFF
##2F122A1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#31141C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f122a;
/* rgb */ color: rgb(47, 18, 42);
/* oklch */ color: oklch(23.7% 0.060 334.2);
Tailwind
colors: {
  custom: {
    50: '#685163',
    500: '#2f122a',
    950: '#000000',
  },
}
SCSS
$custom: #2f122a;
$custom-light: #685163;
$custom-dark: #000000;
JSON
{
  "hex": "#2f122a",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 310.345,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23692,
    "c": 0.06028,
    "h": 334.2
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#2F122A
secondary
#36673E
accent
#D46A53
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F122A

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

Preview Lab → · Contrast checker → · Palette generator →

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