#2F031C#2F031C

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

Color values

HEX#2F031C
RGBrgb(47, 3, 28)
HSLhsl(326, 88%, 10%)
HSVhsv(326, 94%, 18%)
CMYKcmyk(0%, 93.6%, 40.4%, 81.6%)
CIE-LABlab(6.81, 24.68, -4.80)
CIE-LCHlch(6.81, 25.15, 348.99°)
OKLaboklab(20.64% 0.0766 -0.0128)
OKLCHoklch(20.64% 0.078 350.5)
XYZxyz(1.4145, 0.7535, 1.1693)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031C #032F16
analogous
#2C032F #2F031C #2F0306
triadic
#2F031C #1C2F03 #031C2F
tetradic
#2F031C #2F2C03 #032F16 #03062F
square
#2F031C #2F2C03 #032F16 #03062F
split-complementary
#2F031C #062F03 #032F2C
monochromatic
#1D0211 #1D0211 #2F031C #69073E #A20A61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F031C#FFFFFF#000000##FFFFFF
##2F031C1.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)
#0A101D
Deuteranopia (green-blind)
#17181B
Tritanopia (blue-blind)
#33010E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f031c;
/* rgb */ color: rgb(47, 3, 28);
/* oklch */ color: oklch(20.6% 0.078 350.5);
Tailwind
colors: {
  custom: {
    50: '#6a4858',
    500: '#2f031c',
    950: '#000000',
  },
}
SCSS
$custom: #2f031c;
$custom-light: #6a4858;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031c",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 325.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20635,
    "c": 0.07765,
    "h": 350.5
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#2F031C
secondary
#1B7341
accent
#FE852A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F031C

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

Preview Lab → · Contrast checker → · Palette generator →

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