#2F031D#2F031D

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

Color values

HEX#2F031D
RGBrgb(47, 3, 29)
HSLhsl(325, 88%, 10%)
HSVhsv(325, 94%, 18%)
CMYKcmyk(0%, 93.6%, 38.3%, 81.6%)
CIE-LABlab(6.85, 24.85, -5.52)
CIE-LCHlch(6.85, 25.46, 347.47°)
OKLaboklab(20.69% 0.0769 -0.0147)
OKLCHoklch(20.69% 0.078 349.1)
XYZxyz(1.4267, 0.7583, 1.2334)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031D #032F15
analogous
#2B032F #2F031D #2F0307
triadic
#2F031D #1D2F03 #031D2F
tetradic
#2F031D #2F2B03 #032F15 #03072F
square
#2F031D #2F2B03 #032F15 #03072F
split-complementary
#2F031D #072F03 #032F2B
monochromatic
#1D0212 #1D0212 #2F031D #690740 #A20A64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F031D#FFFFFF#000000##FFFFFF
##2F031D1.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)
#09101E
Deuteranopia (green-blind)
#17181C
Tritanopia (blue-blind)
#33010E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f031d;
/* rgb */ color: rgb(47, 3, 29);
/* oklch */ color: oklch(20.7% 0.078 349.1);
Tailwind
colors: {
  custom: {
    50: '#6a4858',
    500: '#2f031d',
    950: '#000000',
  },
}
SCSS
$custom: #2f031d;
$custom-light: #6a4858;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031d",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 324.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20687,
    "c": 0.07828,
    "h": 349.1
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#2F031D
secondary
#1B733F
accent
#FE812A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F031D

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

Preview Lab → · Contrast checker → · Palette generator →

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