#2F0512#2F0512

#2F0512 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.5% C 0.069 H 6.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#2F0512
RGBrgb(47, 5, 18)
HSLhsl(341, 81%, 10%)
HSVhsv(341, 89%, 18%)
CMYKcmyk(0%, 89.4%, 61.7%, 81.6%)
CIE-LABlab(6.84, 22.24, 2.52)
CIE-LCHlch(6.84, 22.38, 6.46°)
OKLaboklab(20.53% 0.0687 0.0079)
OKLCHoklch(20.53% 0.069 6.5)
XYZxyz(1.3359, 0.7567, 0.6479)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0512 #052F22
analogous
#2F0527 #2F0512 #2F0D05
triadic
#2F0512 #122F05 #05122F
tetradic
#2F0512 #272F05 #052F22 #0D052F
square
#2F0512 #272F05 #052F22 #0D052F
split-complementary
#2F0512 #052F0D #05272F
monochromatic
#1C030B #1C030B #2F0512 #660B27 #9E113C

Accessibility & contrast

On white

18.24
#2F0512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0512
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0512#FFFFFF#000000##FFFFFF
##2F05121.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#34000A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0512;
/* rgb */ color: rgb(47, 5, 18);
/* oklch */ color: oklch(20.5% 0.069 6.5);
Tailwind
colors: {
  custom: {
    50: '#6b4950',
    500: '#2f0512',
    950: '#000000',
  },
}
SCSS
$custom: #2f0512;
$custom-light: #6b4950;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0512",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 341.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20527,
    "c": 0.06911,
    "h": 6.5
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#2F0512
secondary
#1F7157
accent
#F7BA31
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0512

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

Preview Lab → · Contrast checker → · Palette generator →

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