#2F031E#2F031E

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

Color values

HEX#2F031E
RGBrgb(47, 3, 30)
HSLhsl(323, 88%, 10%)
HSVhsv(323, 94%, 18%)
CMYKcmyk(0%, 93.6%, 36.2%, 81.6%)
CIE-LABlab(6.90, 25.01, -6.23)
CIE-LCHlch(6.90, 25.78, 346.01°)
OKLaboklab(20.74% 0.0772 -0.0167)
OKLCHoklch(20.74% 0.079 347.8)
XYZxyz(1.4393, 0.7634, 1.2996)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031E #032F14
analogous
#2A032F #2F031E #2F0308
triadic
#2F031E #1E2F03 #031E2F
tetradic
#2F031E #2F2A03 #032F14 #03082F
square
#2F031E #2F2A03 #032F14 #03082F
split-complementary
#2F031E #082F03 #032F2A
monochromatic
#1D0212 #1D0212 #2F031E #690743 #A20A67

Accessibility & contrast

On white

18.22
#2F031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F031E
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F031E#FFFFFF#000000##FFFFFF
##2F031E1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101F
Deuteranopia (green-blind)
#16181D
Tritanopia (blue-blind)
#33020F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f031e;
/* rgb */ color: rgb(47, 3, 30);
/* oklch */ color: oklch(20.7% 0.079 347.8);
Tailwind
colors: {
  custom: {
    50: '#6a4859',
    500: '#2f031e',
    950: '#000000',
  },
}
SCSS
$custom: #2f031e;
$custom-light: #6a4859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031e",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 323.182,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20739,
    "c": 0.07893,
    "h": 347.8
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#2F031E
secondary
#1B733D
accent
#FE7C2A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F031E

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

Preview Lab → · Contrast checker → · Palette generator →

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