#2C0021#2C0021

#2C0021 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.8% C 0.086 H 340.4°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2C0021
RGBrgb(44, 0, 33)
HSLhsl(315, 100%, 9%)
HSVhsv(315, 100%, 17%)
CMYKcmyk(0%, 100%, 25%, 82.7%)
CIE-LABlab(5.83, 25.89, -10.24)
CIE-LCHlch(5.83, 27.84, 338.41°)
OKLaboklab(19.77% 0.0808 -0.0288)
OKLCHoklch(19.77% 0.086 340.4)
XYZxyz(1.3133, 0.6454, 1.4940)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0021 #002C0B
analogous
#21002C #2C0021 #2C000B
triadic
#2C0021 #212C00 #00212C
tetradic
#2C0021 #2C2100 #002C0B #000B2C
square
#2C0021 #2C2100 #002C0B #000B2C
split-complementary
#2C0021 #0B2C00 #002C21
monochromatic
#1F0017 #1F0017 #2C0021 #69004F #A6007D

Accessibility & contrast

On white

18.60
#2C0021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0021
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0021#FFFFFF#000000##FFFFFF
##2C00211.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E22
Deuteranopia (green-blind)
#111620
Tritanopia (blue-blind)
#2F010F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c0021;
/* rgb */ color: rgb(44, 0, 33);
/* oklch */ color: oklch(19.8% 0.086 340.4);
Tailwind
colors: {
  custom: {
    50: '#67465c',
    500: '#2c0021',
    950: '#000000',
  },
}
SCSS
$custom: #2c0021;
$custom-light: #67465c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0021",
  "rgb": {
    "r": 44,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 315,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19771,
    "c": 0.08575,
    "h": 340.4
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#2C0021
secondary
#14732C
accent
#FF5E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2C0021

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

Preview Lab → · Contrast checker → · Palette generator →

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