#2F0313#2F0313

#2F0313 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.073 H 3.5°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2F0313
RGBrgb(47, 3, 19)
HSLhsl(338, 88%, 10%)
HSVhsv(338, 94%, 18%)
CMYKcmyk(0%, 93.6%, 59.6%, 81.6%)
CIE-LABlab(6.47, 23.39, 1.37)
CIE-LCHlch(6.47, 23.43, 3.35°)
OKLaboklab(20.24% 0.0732 0.0044)
OKLCHoklch(20.24% 0.073 3.5)
XYZxyz(1.3225, 0.7167, 0.6847)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0313 #032F1F
analogous
#2F0329 #2F0313 #2F0903
triadic
#2F0313 #132F03 #03132F
tetradic
#2F0313 #292F03 #032F1F #09032F
square
#2F0313 #292F03 #032F1F #09032F
split-complementary
#2F0313 #032F09 #03292F
monochromatic
#1D020C #1D020C #2F0313 #69072A #A20A42

Accessibility & contrast

On white

18.37
#2F0313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0313
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0313#FFFFFF#000000##FFFFFF
##2F03131.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0F13
Deuteranopia (green-blind)
#191812
Tritanopia (blue-blind)
#340009
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0313;
/* rgb */ color: rgb(47, 3, 19);
/* oklch */ color: oklch(20.2% 0.073 3.5);
Tailwind
colors: {
  custom: {
    50: '#6b4850',
    500: '#2f0313',
    950: '#000000',
  },
}
SCSS
$custom: #2f0313;
$custom-light: #6b4850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0313",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 338.182,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20237,
    "c": 0.07331,
    "h": 3.5
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#2F0313
secondary
#1B7353
accent
#FEB12A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0313

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

Preview Lab → · Contrast checker → · Palette generator →

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