#2C0122#2C0122

#2C0122 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.084 H 339.3°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#2C0122
RGBrgb(44, 1, 34)
HSLhsl(314, 96%, 9%)
HSVhsv(314, 98%, 17%)
CMYKcmyk(0%, 97.7%, 22.7%, 82.7%)
CIE-LABlab(6.08, 25.58, -10.64)
CIE-LCHlch(6.08, 27.70, 337.41°)
OKLaboklab(20.01% 0.0787 -0.0297)
OKLCHoklch(20.01% 0.084 339.3)
XYZxyz(1.3383, 0.6728, 1.5724)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0122 #012C0B
analogous
#21012C #2C0122 #2C010D
triadic
#2C0122 #222C01 #01222C
tetradic
#2C0122 #2C2101 #012C0B #010D2C
square
#2C0122 #2C2101 #012C0B #010D2C
split-complementary
#2C0122 #0D2C01 #012C21
monochromatic
#1E0117 #1E0117 #2C0122 #680250 #A4047E

Accessibility & contrast

On white

18.51
#2C0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2C0122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0122
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0122#FFFFFF#000000##FFFFFF
##2C01221.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#121621
Tritanopia (blue-blind)
#2F0210
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c0122;
/* rgb */ color: rgb(44, 1, 34);
/* oklch */ color: oklch(20.0% 0.084 339.3);
Tailwind
colors: {
  custom: {
    50: '#67475d',
    500: '#2c0122',
    950: '#000000',
  },
}
SCSS
$custom: #2c0122;
$custom-light: #67475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0122",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 313.953,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20006,
    "c": 0.08414,
    "h": 339.3
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#2C0122
secondary
#17722C
accent
#FF5B29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2C0122

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

Preview Lab → · Contrast checker → · Palette generator →

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