#2F0418#2F0418

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

Color values

HEX#2F0418
RGBrgb(47, 4, 24)
HSLhsl(332, 84%, 10%)
HSVhsv(332, 91%, 18%)
CMYKcmyk(0%, 91.5%, 48.9%, 81.6%)
CIE-LABlab(6.84, 23.55, -1.61)
CIE-LCHlch(6.84, 23.60, 356.08°)
OKLaboklab(20.6% 0.0732 -0.0042)
OKLCHoklch(20.6% 0.073 356.7)
XYZxyz(1.3807, 0.7573, 0.9374)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0418 #042F1B
analogous
#2F042E #2F0418 #2F0504
triadic
#2F0418 #182F04 #04182F
tetradic
#2F0418 #2E2F04 #042F1B #05042F
square
#2F0418 #2E2F04 #042F1B #05042F
split-complementary
#2F0418 #042F05 #042E2F
monochromatic
#1C020E #1C020E #2F0418 #670935 #A00E52

Accessibility & contrast

On white

18.24
#2F0418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0418
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0418#FFFFFF#000000##FFFFFF
##2F04181.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0418;
/* rgb */ color: rgb(47, 4, 24);
/* oklch */ color: oklch(20.6% 0.073 356.7);
Tailwind
colors: {
  custom: {
    50: '#6a4854',
    500: '#2f0418',
    950: '#000000',
  },
}
SCSS
$custom: #2f0418;
$custom-light: #6a4854;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0418",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 332.093,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20604,
    "c": 0.07335,
    "h": 356.7
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#2F0418
secondary
#1D724A
accent
#FB9B2D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0418

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

Preview Lab → · Contrast checker → · Palette generator →

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