#2F0818#2F0818

#2F0818 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.066 H 359.1°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2F0818
RGBrgb(47, 8, 24)
HSLhsl(335, 71%, 11%)
HSVhsv(335, 83%, 18%)
CMYKcmyk(0%, 83%, 48.9%, 81.6%)
CIE-LABlab(7.62, 21.43, -0.47)
CIE-LCHlch(7.62, 21.44, 358.75°)
OKLaboklab(21.22% 0.0657 -0.001)
OKLCHoklch(21.22% 0.066 359.1)
XYZxyz(1.4241, 0.8441, 0.9519)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0818 #082F1F
analogous
#2F082B #2F0818 #2F0B08
triadic
#2F0818 #182F08 #08182F
tetradic
#2F0818 #2B2F08 #082F1F #0B082F
square
#2F0818 #2B2F08 #082F1F #0B082F
split-complementary
#2F0818 #082F0B #082B2F
monochromatic
#1A040D #1A040D #2F0818 #631133 #981A4D

Accessibility & contrast

On white

17.97
#2F0818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0818
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0818#FFFFFF#000000##FFFFFF
##2F08181.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101218
Deuteranopia (green-blind)
#1A1A17
Tritanopia (blue-blind)
#34050F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0818;
/* rgb */ color: rgb(47, 8, 24);
/* oklch */ color: oklch(21.2% 0.066 359.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a54',
    500: '#2f0818',
    950: '#000000',
  },
}
SCSS
$custom: #2f0818;
$custom-light: #6a4a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0818",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 335.385,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21221,
    "c": 0.06575,
    "h": 359.1
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#2F0818
secondary
#256E50
accent
#EEA43A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0818

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

Preview Lab → · Contrast checker → · Palette generator →

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