#2F2829#2F2829

#2F2829 is a dark, near-neutral red. Relative luminance 0.023; OKLCH L 28.5% C 0.011 H 8.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2829
RGBrgb(47, 40, 41)
HSLhsl(351, 8%, 17%)
HSVhsv(351, 15%, 18%)
CMYKcmyk(0%, 14.9%, 12.8%, 81.6%)
CIE-LABlab(16.90, 3.45, 0.54)
CIE-LCHlch(16.90, 3.49, 8.82°)
OKLaboklab(28.5% 0.0104 0.0015)
OKLCHoklch(28.5% 0.011 8)
XYZxyz(2.3313, 2.2821, 2.4151)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2829 #282F2E
analogous
#2F282D #2F2829 #2F2B28
triadic
#2F2829 #292F28 #28292F
tetradic
#2F2829 #2D2F28 #282F2E #2B282F
square
#2F2829 #2D2F28 #282F2E #2B282F
split-complementary
#2F2829 #282F2B #282D2F
monochromatic
#110E0E #110E0E #2F2829 #504446 #716063

Accessibility & contrast

On white

14.42
#2F2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2829
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2829#FFFFFF#000000##FFFFFF
##2F28291.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#2A2A29
Tritanopia (blue-blind)
#302828
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2829;
/* rgb */ color: rgb(47, 40, 41);
/* oklch */ color: oklch(28.5% 0.011 8.0);
Tailwind
colors: {
  custom: {
    50: '#676162',
    500: '#2f2829',
    950: '#000000',
  },
}
SCSS
$custom: #2f2829;
$custom-light: #676162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2829",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 351.429,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28496,
    "c": 0.01053,
    "h": 8
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#2F2829
secondary
#545E5D
accent
#B1A977
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2F2829

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

Preview Lab → · Contrast checker → · Palette generator →

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