#2F0815#2F0815

#2F0815 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.065 H 4.1°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#2F0815
RGBrgb(47, 8, 21)
HSLhsl(340, 71%, 11%)
HSVhsv(340, 83%, 18%)
CMYKcmyk(0%, 83%, 55.3%, 81.6%)
CIE-LABlab(7.52, 21.04, 1.57)
CIE-LCHlch(7.52, 21.09, 4.27°)
OKLaboklab(21.1% 0.0644 0.0046)
OKLCHoklch(21.1% 0.065 4.1)
XYZxyz(1.3946, 0.8323, 0.7965)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0815 #082F22
analogous
#2F0828 #2F0815 #2F0E08
triadic
#2F0815 #152F08 #08152F
tetradic
#2F0815 #282F08 #082F22 #0E082F
square
#2F0815 #282F08 #082F22 #0E082F
split-complementary
#2F0815 #082F0E #08282F
monochromatic
#1A040C #1A040C #2F0815 #63112C #981A44

Accessibility & contrast

On white

18.00
#2F0815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0815
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0815#FFFFFF#000000##FFFFFF
##2F08151.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101215
Deuteranopia (green-blind)
#1B1914
Tritanopia (blue-blind)
#34040D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0815;
/* rgb */ color: rgb(47, 8, 21);
/* oklch */ color: oklch(21.1% 0.065 4.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a52',
    500: '#2f0815',
    950: '#000000',
  },
}
SCSS
$custom: #2f0815;
$custom-light: #6a4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0815",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 21
  },
  "hsl": {
    "h": 340,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21103,
    "c": 0.06458,
    "h": 4.1
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#2F0815
secondary
#256E56
accent
#EEB23A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0815

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

Preview Lab → · Contrast checker → · Palette generator →

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