#2F0122#2F0122

#2F0122 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.7% C 0.086 H 342.2°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#2F0122
RGBrgb(47, 1, 34)
HSLhsl(317, 96%, 9%)
HSVhsv(317, 98%, 18%)
CMYKcmyk(0%, 97.9%, 27.7%, 81.6%)
CIE-LABlab(6.70, 26.78, -9.63)
CIE-LCHlch(6.70, 28.46, 340.22°)
OKLaboklab(20.65% 0.0819 -0.0263)
OKLCHoklch(20.65% 0.086 342.2)
XYZxyz(1.4719, 0.7417, 1.5787)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0122 #012F0E
analogous
#25012F #2F0122 #2F010B
triadic
#2F0122 #222F01 #01222F
tetradic
#2F0122 #2F2501 #012F0E #010B2F
square
#2F0122 #2F2501 #012F0E #010B2F
split-complementary
#2F0122 #0B2F01 #012F25
monochromatic
#1E0116 #1E0116 #2F0122 #6B024D #A70479

Accessibility & contrast

On white

18.29
#2F0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0122
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0122#FFFFFF#000000##FFFFFF
##2F01221.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051023
Deuteranopia (green-blind)
#141821
Tritanopia (blue-blind)
#330110
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0122;
/* rgb */ color: rgb(47, 1, 34);
/* oklch */ color: oklch(20.7% 0.086 342.2);
Tailwind
colors: {
  custom: {
    50: '#6a475d',
    500: '#2f0122',
    950: '#000000',
  },
}
SCSS
$custom: #2f0122;
$custom-light: #6a475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0122",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 316.957,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.08603,
    "h": 342.2
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#2F0122
secondary
#177532
accent
#FF6529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0122

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

Preview Lab → · Contrast checker → · Palette generator →

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