#2C020F#2C020F

#2C020F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.071 H 6.6°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#2C020F
RGBrgb(44, 2, 15)
HSLhsl(341, 91%, 9%)
HSVhsv(341, 95%, 17%)
CMYKcmyk(0%, 95.5%, 65.9%, 82.7%)
CIE-LABlab(5.54, 21.82, 2.26)
CIE-LCHlch(5.54, 21.94, 5.92°)
OKLaboklab(19.23% 0.0707 0.0081)
OKLCHoklch(19.23% 0.071 6.6)
XYZxyz(1.1467, 0.6135, 0.5099)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C020F #022C1F
analogous
#2C0224 #2C020F #2C0A02
triadic
#2C020F #0F2C02 #020F2C
tetradic
#2C020F #242C02 #022C1F #0A022C
square
#2C020F #242C02 #022C1F #0A022C
split-complementary
#2C020F #022C0A #02242C
monochromatic
#1D010A #1D010A #2C020F #670523 #A10737

Accessibility & contrast

On white

18.71
#2C020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2C020F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C020F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C020F#FFFFFF#000000##FFFFFF
##2C020F1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0C0F
Deuteranopia (green-blind)
#17150E
Tritanopia (blue-blind)
#310007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2c020f;
/* rgb */ color: rgb(44, 2, 15);
/* oklch */ color: oklch(19.2% 0.071 6.6);
Tailwind
colors: {
  custom: {
    50: '#68474e',
    500: '#2c020f',
    950: '#000000',
  },
}
SCSS
$custom: #2c020f;
$custom-light: #68474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c020f",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 341.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19231,
    "c": 0.07116,
    "h": 6.6
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#2C020F
secondary
#197156
accent
#FFBD29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2C020F

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

Preview Lab → · Contrast checker → · Palette generator →

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