#2F0121#2F0121

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

Color values

HEX#2F0121
RGBrgb(47, 1, 33)
HSLhsl(318, 96%, 9%)
HSVhsv(318, 98%, 18%)
CMYKcmyk(0%, 97.9%, 29.8%, 81.6%)
CIE-LABlab(6.65, 26.60, -8.94)
CIE-LCHlch(6.65, 28.07, 341.43°)
OKLaboklab(20.59% 0.0818 -0.0243)
OKLCHoklch(20.59% 0.085 343.4)
XYZxyz(1.4577, 0.7360, 1.5038)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0121 #012F0F
analogous
#26012F #2F0121 #2F010A
triadic
#2F0121 #212F01 #01212F
tetradic
#2F0121 #2F2601 #012F0F #010A2F
square
#2F0121 #2F2601 #012F0F #010A2F
split-complementary
#2F0121 #0A2F01 #012F26
monochromatic
#1E0115 #1E0115 #2F0121 #6B024B #A70475

Accessibility & contrast

On white

18.31
#2F0121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0121
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0121#FFFFFF#000000##FFFFFF
##2F01211.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051022
Deuteranopia (green-blind)
#141820
Tritanopia (blue-blind)
#33010F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0121;
/* rgb */ color: rgb(47, 1, 33);
/* oklch */ color: oklch(20.6% 0.085 343.4);
Tailwind
colors: {
  custom: {
    50: '#6a475c',
    500: '#2f0121',
    950: '#000000',
  },
}
SCSS
$custom: #2f0121;
$custom-light: #6a475c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0121",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 33
  },
  "hsl": {
    "h": 318.261,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20593,
    "c": 0.08531,
    "h": 343.4
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#2F0121
secondary
#177534
accent
#FF6A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0121

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

Preview Lab → · Contrast checker → · Palette generator →

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