#2C0223#2C0223

#2C0223 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.083 H 338.3°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#2C0223
RGBrgb(44, 2, 35)
HSLhsl(313, 91%, 9%)
HSVhsv(313, 95%, 17%)
CMYKcmyk(0%, 95.5%, 20.5%, 82.7%)
CIE-LABlab(6.33, 25.26, -11.03)
CIE-LCHlch(6.33, 27.57, 336.42°)
OKLaboklab(20.24% 0.0768 -0.0306)
OKLCHoklch(20.24% 0.083 338.3)
XYZxyz(1.3638, 0.7004, 1.6531)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0223 #022C0B
analogous
#20022C #2C0223 #2C020E
triadic
#2C0223 #232C02 #02232C
tetradic
#2C0223 #2C2002 #022C0B #020E2C
square
#2C0223 #2C2002 #022C0B #020E2C
split-complementary
#2C0223 #0E2C02 #022C20
monochromatic
#1D0117 #1D0117 #2C0223 #670552 #A10780

Accessibility & contrast

On white

18.42
#2C0223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0223
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0223#FFFFFF#000000##FFFFFF
##2C02231.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031024
Deuteranopia (green-blind)
#121622
Tritanopia (blue-blind)
#2F0411
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0223;
/* rgb */ color: rgb(44, 2, 35);
/* oklch */ color: oklch(20.2% 0.083 338.3);
Tailwind
colors: {
  custom: {
    50: '#67475e',
    500: '#2c0223',
    950: '#000000',
  },
}
SCSS
$custom: #2c0223;
$custom-light: #67475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0223",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 312.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20237,
    "c": 0.08264,
    "h": 338.3
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#2C0223
secondary
#19712C
accent
#FF5729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2C0223

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

Preview Lab → · Contrast checker → · Palette generator →

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