#2F1218#2F1218

#2F1218 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.9% C 0.048 H 8.6°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2F1218
RGBrgb(47, 18, 24)
HSLhsl(348, 45%, 13%)
HSVhsv(348, 62%, 18%)
CMYKcmyk(0%, 61.7%, 48.9%, 81.6%)
CIE-LABlab(9.82, 15.59, 2.71)
CIE-LCHlch(9.82, 15.82, 9.85°)
OKLaboklab(22.87% 0.0473 0.0071)
OKLCHoklch(22.87% 0.048 8.6)
XYZxyz(1.5536, 1.1031, 0.9951)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1218 #122F29
analogous
#2F1226 #2F1218 #2F1A12
triadic
#2F1218 #182F12 #12182F
tetradic
#2F1218 #262F12 #122F29 #1A122F
square
#2F1218 #262F12 #122F29 #1A122F
split-complementary
#2F1218 #122F1A #12262F
monochromatic
#16080B #16080B #2F1218 #5B232F #883445

Accessibility & contrast

On white

17.20
#2F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F1218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1218
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1218#FFFFFF#000000##FFFFFF
##2F12181.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171818
Deuteranopia (green-blind)
#1F1D17
Tritanopia (blue-blind)
#330F14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f1218;
/* rgb */ color: rgb(47, 18, 24);
/* oklch */ color: oklch(22.9% 0.048 8.6);
Tailwind
colors: {
  custom: {
    50: '#695154',
    500: '#2f1218',
    950: '#000000',
  },
}
SCSS
$custom: #2f1218;
$custom-light: #695154;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1218",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 347.586,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.04787,
    "h": 8.6
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2F1218
secondary
#36675D
accent
#D4BA53
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2F1218

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

Preview Lab → · Contrast checker → · Palette generator →

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