#2F010F#2F010F

#2F010F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.076 H 7.7°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#2F010F
RGBrgb(47, 1, 15)
HSLhsl(342, 96%, 9%)
HSVhsv(342, 98%, 18%)
CMYKcmyk(0%, 97.9%, 68.1%, 81.6%)
CIE-LABlab(5.97, 23.94, 2.96)
CIE-LCHlch(5.97, 24.12, 7.05°)
OKLaboklab(19.76% 0.0757 0.0102)
OKLCHoklch(19.76% 0.076 7.7)
XYZxyz(1.2695, 0.6607, 0.5125)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F010F #012F21
analogous
#2F0126 #2F010F #2F0A01
triadic
#2F010F #0F2F01 #010F2F
tetradic
#2F010F #262F01 #012F21 #0A012F
square
#2F010F #262F01 #012F21 #0A012F
split-complementary
#2F010F #012F0A #01262F
monochromatic
#1E010A #1E010A #2F010F #6B0222 #A70435

Accessibility & contrast

On white

18.55
#2F010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2F010F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F010F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F010F#FFFFFF#000000##FFFFFF
##2F010F1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0D0F
Deuteranopia (green-blind)
#19170E
Tritanopia (blue-blind)
#340006
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f010f;
/* rgb */ color: rgb(47, 1, 15);
/* oklch */ color: oklch(19.8% 0.076 7.7);
Tailwind
colors: {
  custom: {
    50: '#6b464e',
    500: '#2f010f',
    950: '#000000',
  },
}
SCSS
$custom: #2f010f;
$custom-light: #6b464e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f010f",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 341.739,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19756,
    "c": 0.07633,
    "h": 7.7
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#2F010F
secondary
#177558
accent
#FFBE29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F010F

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

Preview Lab → · Contrast checker → · Palette generator →

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