#2F1229#2F1229

#2F1229 is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.6% C 0.059 H 335.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#2F1229
RGBrgb(47, 18, 41)
HSLhsl(312, 45%, 13%)
HSVhsv(312, 62%, 18%)
CMYKcmyk(0%, 61.7%, 12.8%, 81.6%)
CIE-LABlab(10.54, 18.62, -9.00)
CIE-LCHlch(10.54, 20.68, 334.19°)
OKLaboklab(23.64% 0.054 -0.0243)
OKLCHoklch(23.64% 0.059 335.7)
XYZxyz(1.7888, 1.1972, 2.2342)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1229 #122F18
analogous
#26122F #2F1229 #2F121A
triadic
#2F1229 #292F12 #12292F
tetradic
#2F1229 #2F2612 #122F18 #121A2F
square
#2F1229 #2F2612 #122F18 #121A2F
split-complementary
#2F1229 #1A2F12 #122F26
monochromatic
#160813 #160813 #2F1229 #5B2350 #883476

Accessibility & contrast

On white

16.94
#2F1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1229
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1229#FFFFFF#000000##FFFFFF
##2F12291.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2A
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#31131B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1229;
/* rgb */ color: rgb(47, 18, 41);
/* oklch */ color: oklch(23.6% 0.059 335.7);
Tailwind
colors: {
  custom: {
    50: '#685162',
    500: '#2f1229',
    950: '#000000',
  },
}
SCSS
$custom: #2f1229;
$custom-light: #685162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1229",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 312.414,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23637,
    "c": 0.05924,
    "h": 335.7
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#2F1229
secondary
#366740
accent
#D46E53
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F1229

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

Preview Lab → · Contrast checker → · Palette generator →

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