#2F031F#2F031F

#2F031F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 346.5°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2F031F
RGBrgb(47, 3, 31)
HSLhsl(322, 88%, 10%)
HSVhsv(322, 94%, 18%)
CMYKcmyk(0%, 93.6%, 34%, 81.6%)
CIE-LABlab(6.94, 25.18, -6.94)
CIE-LCHlch(6.94, 26.12, 344.60°)
OKLaboklab(20.79% 0.0774 -0.0186)
OKLCHoklch(20.79% 0.08 346.5)
XYZxyz(1.4522, 0.7686, 1.3679)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031F #032F13
analogous
#29032F #2F031F #2F0309
triadic
#2F031F #1F2F03 #031F2F
tetradic
#2F031F #2F2903 #032F13 #03092F
square
#2F031F #2F2903 #032F13 #03092F
split-complementary
#2F031F #092F03 #032F29
monochromatic
#1D0213 #1D0213 #2F031F #690745 #A20A6B

Accessibility & contrast

On white

18.20
#2F031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F031F
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F031F#FFFFFF#000000##FFFFFF
##2F031F1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f031f;
/* rgb */ color: rgb(47, 3, 31);
/* oklch */ color: oklch(20.8% 0.080 346.5);
Tailwind
colors: {
  custom: {
    50: '#6a485a',
    500: '#2f031f',
    950: '#000000',
  },
}
SCSS
$custom: #2f031f;
$custom-light: #6a485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031f",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 321.818,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20794,
    "c": 0.07961,
    "h": 346.5
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#2F031F
secondary
#1B733B
accent
#FE772A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2F031F

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

Preview Lab → · Contrast checker → · Palette generator →

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