#2F0318#2F0318

#2F0318 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.075 H 356.1°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2F0318
RGBrgb(47, 3, 24)
HSLhsl(331, 88%, 10%)
HSVhsv(331, 94%, 18%)
CMYKcmyk(0%, 93.6%, 48.9%, 81.6%)
CIE-LABlab(6.64, 24.07, -1.90)
CIE-LCHlch(6.64, 24.15, 355.49°)
OKLaboklab(20.44% 0.0752 -0.0051)
OKLCHoklch(20.44% 0.075 356.1)
XYZxyz(1.3698, 0.7356, 0.9338)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0318 #032F1A
analogous
#2F032E #2F0318 #2F0403
triadic
#2F0318 #182F03 #03182F
tetradic
#2F0318 #2E2F03 #032F1A #04032F
square
#2F0318 #2E2F03 #032F1A #04032F
split-complementary
#2F0318 #032F04 #032E2F
monochromatic
#1D020F #1D020F #2F0318 #690735 #A20A53

Accessibility & contrast

On white

18.31
#2F0318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0318
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0318#FFFFFF#000000##FFFFFF
##2F03181.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#181817
Tritanopia (blue-blind)
#34000C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0318;
/* rgb */ color: rgb(47, 3, 24);
/* oklch */ color: oklch(20.4% 0.075 356.1);
Tailwind
colors: {
  custom: {
    50: '#6a4854',
    500: '#2f0318',
    950: '#000000',
  },
}
SCSS
$custom: #2f0318;
$custom-light: #6a4854;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0318",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 331.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20444,
    "c": 0.07541,
    "h": 356.1
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#2F0318
secondary
#1B7349
accent
#FE992A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0318

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

Preview Lab → · Contrast checker → · Palette generator →

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