#2F0211#2F0211

#2F0211 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.075 H 5.6°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#2F0211
RGBrgb(47, 2, 17)
HSLhsl(340, 92%, 10%)
HSVhsv(340, 96%, 18%)
CMYKcmyk(0%, 95.7%, 63.8%, 81.6%)
CIE-LABlab(6.22, 23.66, 2.21)
CIE-LCHlch(6.22, 23.77, 5.34°)
OKLaboklab(20% 0.0744 0.0073)
OKLCHoklch(20% 0.075 5.6)
XYZxyz(1.2953, 0.6884, 0.5949)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0211 #022F20
analogous
#2F0228 #2F0211 #2F0A02
triadic
#2F0211 #112F02 #02112F
tetradic
#2F0211 #282F02 #022F20 #0A022F
square
#2F0211 #282F02 #022F20 #0A022F
split-complementary
#2F0211 #022F0A #02282F
monochromatic
#1D010B #1D010B #2F0211 #6A0426 #A4073B

Accessibility & contrast

On white

18.46
#2F0211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0211
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0211#FFFFFF#000000##FFFFFF
##2F02111.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E11
Deuteranopia (green-blind)
#191710
Tritanopia (blue-blind)
#340007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0211;
/* rgb */ color: rgb(47, 2, 17);
/* oklch */ color: oklch(20.0% 0.075 5.6);
Tailwind
colors: {
  custom: {
    50: '#6b474f',
    500: '#2f0211',
    950: '#000000',
  },
}
SCSS
$custom: #2f0211;
$custom-light: #6b474f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0211",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 340,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.07475,
    "h": 5.6
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2F0211
secondary
#197455
accent
#FFB829
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0211

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

Preview Lab → · Contrast checker → · Palette generator →

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