#2C0124#2C0124

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

Color values

HEX#2C0124
RGBrgb(44, 1, 36)
HSLhsl(311, 96%, 9%)
HSVhsv(311, 98%, 17%)
CMYKcmyk(0%, 97.7%, 18.2%, 82.7%)
CIE-LABlab(6.18, 26.00, -12.02)
CIE-LCHlch(6.18, 28.64, 335.19°)
OKLaboklab(20.14% 0.0789 -0.0336)
OKLCHoklch(20.14% 0.086 337)
XYZxyz(1.3680, 0.6847, 1.7288)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0124 #012C09
analogous
#1F012C #2C0124 #2C010F
triadic
#2C0124 #242C01 #01242C
tetradic
#2C0124 #2C1F01 #012C09 #010F2C
square
#2C0124 #2C1F01 #012C09 #010F2C
split-complementary
#2C0124 #0F2C01 #012C1F
monochromatic
#1E0118 #1E0118 #2C0124 #680255 #A40486

Accessibility & contrast

On white

18.47
#2C0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2C0124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0124
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0124#FFFFFF#000000##FFFFFF
##2C01241.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020F25
Deuteranopia (green-blind)
#111623
Tritanopia (blue-blind)
#2F0311
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0124;
/* rgb */ color: rgb(44, 1, 36);
/* oklch */ color: oklch(20.1% 0.086 337.0);
Tailwind
colors: {
  custom: {
    50: '#67475e',
    500: '#2c0124',
    950: '#000000',
  },
}
SCSS
$custom: #2c0124;
$custom-light: #67475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0124",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 311.163,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20139,
    "c": 0.08571,
    "h": 337
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#2C0124
secondary
#177228
accent
#FF5129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2C0124

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

Preview Lab → · Contrast checker → · Palette generator →

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