#2F0426#2F0426

#2F0426 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.083 H 337.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#2F0426
RGBrgb(47, 4, 38)
HSLhsl(313, 84%, 10%)
HSVhsv(313, 91%, 18%)
CMYKcmyk(0%, 91.5%, 19.1%, 81.6%)
CIE-LABlab(7.51, 25.89, -11.45)
CIE-LCHlch(7.51, 28.30, 336.15°)
OKLaboklab(21.36% 0.0768 -0.0312)
OKLCHoklch(21.36% 0.083 337.9)
XYZxyz(1.5656, 0.8313, 1.9113)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0426 #042F0D
analogous
#22042F #2F0426 #2F0411
triadic
#2F0426 #262F04 #04262F
tetradic
#2F0426 #2F2204 #042F0D #04112F
square
#2F0426 #2F2204 #042F0D #04112F
split-complementary
#2F0426 #112F04 #042F22
monochromatic
#1C0217 #1C0217 #2F0426 #670954 #A00E81

Accessibility & contrast

On white

18.01
#2F0426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0426
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0426#FFFFFF#000000##FFFFFF
##2F04261.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051227
Deuteranopia (green-blind)
#141925
Tritanopia (blue-blind)
#320614
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0426;
/* rgb */ color: rgb(47, 4, 38);
/* oklch */ color: oklch(21.4% 0.083 337.9);
Tailwind
colors: {
  custom: {
    50: '#6a4960',
    500: '#2f0426',
    950: '#000000',
  },
}
SCSS
$custom: #2f0426;
$custom-light: #6a4960;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0426",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 312.558,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2136,
    "c": 0.08289,
    "h": 337.9
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#2F0426
secondary
#1D722F
accent
#FB582D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0426

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

Preview Lab → · Contrast checker → · Palette generator →

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