#2F0427#2F0427

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

Color values

HEX#2F0427
RGBrgb(47, 4, 39)
HSLhsl(311, 84%, 10%)
HSVhsv(311, 91%, 18%)
CMYKcmyk(0%, 91.5%, 17%, 81.6%)
CIE-LABlab(7.57, 26.07, -12.11)
CIE-LCHlch(7.57, 28.75, 335.08°)
OKLaboklab(21.42% 0.0769 -0.0331)
OKLCHoklch(21.42% 0.084 336.7)
XYZxyz(1.5819, 0.8378, 1.9975)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0427 #042F0C
analogous
#22042F #2F0427 #2F0411
triadic
#2F0427 #272F04 #04272F
tetradic
#2F0427 #2F2204 #042F0C #04112F
square
#2F0427 #2F2204 #042F0C #04112F
split-complementary
#2F0427 #112F04 #042F22
monochromatic
#1C0217 #1C0217 #2F0427 #670956 #A00E85

Accessibility & contrast

On white

17.99
#2F0427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0427
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0427#FFFFFF#000000##FFFFFF
##2F04271.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0427;
/* rgb */ color: rgb(47, 4, 39);
/* oklch */ color: oklch(21.4% 0.084 336.7);
Tailwind
colors: {
  custom: {
    50: '#6a4961',
    500: '#2f0427',
    950: '#000000',
  },
}
SCSS
$custom: #2f0427;
$custom-light: #6a4961;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0427",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 311.163,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21424,
    "c": 0.08372,
    "h": 336.7
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#2F0427
secondary
#1D722D
accent
#FB532D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0427

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

Preview Lab → · Contrast checker → · Palette generator →

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