#2F0422#2F0422

#2F0422 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.080 H 342.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2F0422
RGBrgb(47, 4, 34)
HSLhsl(318, 84%, 10%)
HSVhsv(318, 91%, 18%)
CMYKcmyk(0%, 91.5%, 27.7%, 81.6%)
CIE-LABlab(7.29, 25.16, -8.73)
CIE-LCHlch(7.29, 26.63, 340.87°)
OKLaboklab(21.12% 0.0762 -0.0235)
OKLCHoklch(21.12% 0.08 342.8)
XYZxyz(1.5045, 0.8068, 1.5896)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0422 #042F11
analogous
#27042F #2F0422 #2F040C
triadic
#2F0422 #222F04 #04222F
tetradic
#2F0422 #2F2704 #042F11 #040C2F
square
#2F0422 #2F2704 #042F11 #040C2F
split-complementary
#2F0422 #0C2F04 #042F27
monochromatic
#1C0214 #1C0214 #2F0422 #67094B #A00E74

Accessibility & contrast

On white

18.08
#2F0422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0422
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0422#FFFFFF#000000##FFFFFF
##2F04221.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081123
Deuteranopia (green-blind)
#161921
Tritanopia (blue-blind)
#330412
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0422;
/* rgb */ color: rgb(47, 4, 34);
/* oklch */ color: oklch(21.1% 0.080 342.8);
Tailwind
colors: {
  custom: {
    50: '#6a495d',
    500: '#2f0422',
    950: '#000000',
  },
}
SCSS
$custom: #2f0422;
$custom-light: #6a495d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0422",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 318.14,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21117,
    "c": 0.07973,
    "h": 342.8
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#2F0422
secondary
#1D7237
accent
#FB6B2D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0422

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

Preview Lab → · Contrast checker → · Palette generator →

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