#2C1027#2C1027

#2C1027 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.7% C 0.059 H 334.6°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2C1027
RGBrgb(44, 16, 39)
HSLhsl(311, 47%, 12%)
HSVhsv(311, 64%, 17%)
CMYKcmyk(0%, 63.6%, 11.4%, 82.7%)
CIE-LABlab(9.42, 18.30, -9.28)
CIE-LCHlch(9.42, 20.52, 333.13°)
OKLaboklab(22.67% 0.0529 -0.0251)
OKLCHoklch(22.67% 0.059 334.6)
XYZxyz(1.5902, 1.0526, 2.0385)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1027 #102C15
analogous
#23102C #2C1027 #2C1019
triadic
#2C1027 #272C10 #10272C
tetradic
#2C1027 #2C2310 #102C15 #10192C
square
#2C1027 #2C2310 #102C15 #10192C
split-complementary
#2C1027 #192C10 #102C23
monochromatic
#160814 #160814 #2C1027 #59204F #863177

Accessibility & contrast

On white

17.35
#2C1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1027
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1027#FFFFFF#000000##FFFFFF
##2C10271.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101828
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#2E1219
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c1027;
/* rgb */ color: rgb(44, 16, 39);
/* oklch */ color: oklch(22.7% 0.059 334.6);
Tailwind
colors: {
  custom: {
    50: '#664f61',
    500: '#2c1027',
    950: '#000000',
  },
}
SCSS
$custom: #2c1027;
$custom-light: #664f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1027",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 310.714,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22666,
    "c": 0.05853,
    "h": 334.6
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#2C1027
secondary
#33653C
accent
#D66951
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C1027

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

Preview Lab → · Contrast checker → · Palette generator →

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