#2F0C22#2F0C22

#2F0C22 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.065 H 345.0°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2F0C22
RGBrgb(47, 12, 34)
HSLhsl(322, 59%, 12%)
HSVhsv(322, 74%, 18%)
CMYKcmyk(0%, 74.5%, 27.7%, 81.6%)
CIE-LABlab(8.85, 20.84, -6.34)
CIE-LCHlch(8.85, 21.78, 343.08°)
OKLaboklab(22.27% 0.0626 -0.0168)
OKLCHoklch(22.27% 0.065 345)
XYZxyz(1.5925, 0.9829, 1.6189)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C22 #0C2F19
analogous
#2B0C2F #2F0C22 #2F0C11
triadic
#2F0C22 #222F0C #0C222F
tetradic
#2F0C22 #2F2B0C #0C2F19 #0C112F
square
#2F0C22 #2F2B0C #0C2F19 #0C112F
split-complementary
#2F0C22 #112F0C #0C2F2B
monochromatic
#180612 #180612 #2F0C22 #601845 #912569

Accessibility & contrast

On white

17.55
#2F0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C22
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C22#FFFFFF#000000##FFFFFF
##2F0C221.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1523
Deuteranopia (green-blind)
#191B21
Tritanopia (blue-blind)
#330C15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0c22;
/* rgb */ color: rgb(47, 12, 34);
/* oklch */ color: oklch(22.3% 0.065 345.0);
Tailwind
colors: {
  custom: {
    50: '#694d5d',
    500: '#2f0c22',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c22;
$custom-light: #694d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c22",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 322.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22272,
    "c": 0.06486,
    "h": 345
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2F0C22
secondary
#2C6B43
accent
#E38045
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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