#2C021D#2C021D

#2C021D is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.078 H 346.0°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2C021D
RGBrgb(44, 2, 29)
HSLhsl(321, 91%, 9%)
HSVhsv(321, 95%, 17%)
CMYKcmyk(0%, 95.5%, 34.1%, 82.7%)
CIE-LABlab(6.03, 24.06, -6.81)
CIE-LCHlch(6.03, 25.01, 344.20°)
OKLaboklab(19.87% 0.0758 -0.019)
OKLCHoklch(19.87% 0.078 346)
XYZxyz(1.2822, 0.6677, 1.2235)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C021D #022C11
analogous
#26022C #2C021D #2C0208
triadic
#2C021D #1D2C02 #021D2C
tetradic
#2C021D #2C2602 #022C11 #02082C
square
#2C021D #2C2602 #022C11 #02082C
split-complementary
#2C021D #082C02 #022C26
monochromatic
#1D0113 #1D0113 #2C021D #670544 #A1076A

Accessibility & contrast

On white

18.53
#2C021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C021D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C021D#FFFFFF#000000##FFFFFF
##2C021D1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1E
Deuteranopia (green-blind)
#14161C
Tritanopia (blue-blind)
#30010E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c021d;
/* rgb */ color: rgb(44, 2, 29);
/* oklch */ color: oklch(19.9% 0.078 346.0);
Tailwind
colors: {
  custom: {
    50: '#674758',
    500: '#2c021d',
    950: '#000000',
  },
}
SCSS
$custom: #2c021d;
$custom-light: #674758;
$custom-dark: #000000;
JSON
{
  "hex": "#2c021d",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 321.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19872,
    "c": 0.07812,
    "h": 346
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#2C021D
secondary
#197138
accent
#FF7529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2C021D

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

Preview Lab → · Contrast checker → · Palette generator →

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