#2F0120#2F0120

#2F0120 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.085 H 344.6°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2F0120
RGBrgb(47, 1, 32)
HSLhsl(320, 96%, 9%)
HSVhsv(320, 98%, 18%)
CMYKcmyk(0%, 97.9%, 31.9%, 81.6%)
CIE-LABlab(6.60, 26.43, -8.24)
CIE-LCHlch(6.60, 27.68, 342.69°)
OKLaboklab(20.53% 0.0816 -0.0224)
OKLCHoklch(20.53% 0.085 344.6)
XYZxyz(1.4439, 0.7305, 1.4312)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0120 #012F10
analogous
#27012F #2F0120 #2F0109
triadic
#2F0120 #202F01 #01202F
tetradic
#2F0120 #2F2701 #012F10 #01092F
square
#2F0120 #2F2701 #012F10 #01092F
split-complementary
#2F0120 #092F01 #012F27
monochromatic
#1E0114 #1E0114 #2F0120 #6B0249 #A70472

Accessibility & contrast

On white

18.32
#2F0120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0120
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0120#FFFFFF#000000##FFFFFF
##2F01201.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F21
Deuteranopia (green-blind)
#15181F
Tritanopia (blue-blind)
#33010F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0120;
/* rgb */ color: rgb(47, 1, 32);
/* oklch */ color: oklch(20.5% 0.085 344.6);
Tailwind
colors: {
  custom: {
    50: '#6a475b',
    500: '#2f0120',
    950: '#000000',
  },
}
SCSS
$custom: #2f0120;
$custom-light: #6a475b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0120",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 32
  },
  "hsl": {
    "h": 319.565,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20534,
    "c": 0.08461,
    "h": 344.6
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#2F0120
secondary
#177536
accent
#FF6F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0120

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

Preview Lab → · Contrast checker → · Palette generator →

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