#2F0417#2F0417

#2F0417 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.073 H 358.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2F0417
RGBrgb(47, 4, 23)
HSLhsl(333, 84%, 10%)
HSVhsv(333, 91%, 18%)
CMYKcmyk(0%, 91.5%, 51.1%, 81.6%)
CIE-LABlab(6.80, 23.41, -0.91)
CIE-LCHlch(6.80, 23.42, 357.77°)
OKLaboklab(20.56% 0.0728 -0.0023)
OKLCHoklch(20.56% 0.073 358.2)
XYZxyz(1.3705, 0.7532, 0.8837)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0417 #042F1C
analogous
#2F042D #2F0417 #2F0604
triadic
#2F0417 #172F04 #04172F
tetradic
#2F0417 #2D2F04 #042F1C #06042F
square
#2F0417 #2D2F04 #042F1C #06042F
split-complementary
#2F0417 #042F06 #042D2F
monochromatic
#1C020E #1C020E #2F0417 #670933 #A00E4E

Accessibility & contrast

On white

18.25
#2F0417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0417
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0417#FFFFFF#000000##FFFFFF
##2F04171.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#191816
Tritanopia (blue-blind)
#34010C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0417;
/* rgb */ color: rgb(47, 4, 23);
/* oklch */ color: oklch(20.6% 0.073 358.2);
Tailwind
colors: {
  custom: {
    50: '#6a4853',
    500: '#2f0417',
    950: '#000000',
  },
}
SCSS
$custom: #2f0417;
$custom-light: #6a4853;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0417",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 333.488,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20561,
    "c": 0.07288,
    "h": 358.2
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#2F0417
secondary
#1D724C
accent
#FBA02D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0417

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

Preview Lab → · Contrast checker → · Palette generator →

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