#2B031C#2B031C

#2B031C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.074 H 346.7°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#2B031C
RGBrgb(43, 3, 28)
HSLhsl(323, 87%, 9%)
HSVhsv(323, 93%, 17%)
CMYKcmyk(0%, 93%, 34.9%, 83.1%)
CIE-LABlab(5.99, 22.89, -6.11)
CIE-LCHlch(5.99, 23.69, 345.04°)
OKLaboklab(19.77% 0.0723 -0.0171)
OKLCHoklch(19.77% 0.074 346.7)
XYZxyz(1.2385, 0.6627, 1.1611)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031C #032B12
analogous
#26032B #2B031C #2B0308
triadic
#2B031C #1C2B03 #031C2B
tetradic
#2B031C #2B2603 #032B12 #03082B
square
#2B031C #2B2603 #032B12 #03082B
split-complementary
#2B031C #082B03 #032B26
monochromatic
#1D0213 #1D0213 #2B031C #640741 #9D0B67

Accessibility & contrast

On white

18.54
#2B031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B031C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B031C#FFFFFF#000000##FFFFFF
##2B031C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1D
Deuteranopia (green-blind)
#14161B
Tritanopia (blue-blind)
#2F020E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b031c;
/* rgb */ color: rgb(43, 3, 28);
/* oklch */ color: oklch(19.8% 0.074 346.7);
Tailwind
colors: {
  custom: {
    50: '#664758',
    500: '#2b031c',
    950: '#000000',
  },
}
SCSS
$custom: #2b031c;
$custom-light: #664758;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031c",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 322.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19771,
    "c": 0.07433,
    "h": 346.7
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2B031C
secondary
#1B6F3A
accent
#FD7A2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031C

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

Preview Lab → · Contrast checker → · Palette generator →

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