#2F0317#2F0317

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

Color values

HEX#2F0317
RGBrgb(47, 3, 23)
HSLhsl(333, 88%, 10%)
HSVhsv(333, 94%, 18%)
CMYKcmyk(0%, 93.6%, 51.1%, 81.6%)
CIE-LABlab(6.61, 23.93, -1.19)
CIE-LCHlch(6.61, 23.96, 357.14°)
OKLaboklab(20.4% 0.0749 -0.0031)
OKLCHoklch(20.4% 0.075 357.6)
XYZxyz(1.3596, 0.7315, 0.8800)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0317 #032F1B
analogous
#2F032D #2F0317 #2F0503
triadic
#2F0317 #172F03 #03172F
tetradic
#2F0317 #2D2F03 #032F1B #05032F
square
#2F0317 #2D2F03 #032F1B #05032F
split-complementary
#2F0317 #032F05 #032D2F
monochromatic
#1D020E #1D020E #2F0317 #690733 #A20A4F

Accessibility & contrast

On white

18.32
#2F0317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0317
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0317#FFFFFF#000000##FFFFFF
##2F03171.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F18
Deuteranopia (green-blind)
#181816
Tritanopia (blue-blind)
#34000B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0317;
/* rgb */ color: rgb(47, 3, 23);
/* oklch */ color: oklch(20.4% 0.075 357.6);
Tailwind
colors: {
  custom: {
    50: '#6a4853',
    500: '#2f0317',
    950: '#000000',
  },
}
SCSS
$custom: #2f0317;
$custom-light: #6a4853;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0317",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 332.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.204,
    "c": 0.07493,
    "h": 357.6
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#2F0317
secondary
#1B734B
accent
#FE9E2A
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0317

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

Preview Lab → · Contrast checker → · Palette generator →

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