#2B0312#2B0312

#2B0312 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.069 H 2.0°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#2B0312
RGBrgb(43, 3, 18)
HSLhsl(338, 87%, 9%)
HSVhsv(338, 93%, 17%)
CMYKcmyk(0%, 93%, 58.1%, 83.1%)
CIE-LABlab(5.62, 21.19, 0.65)
CIE-LCHlch(5.62, 21.20, 1.76°)
OKLaboklab(19.3% 0.0688 0.0024)
OKLCHoklch(19.3% 0.069 2)
XYZxyz(1.1381, 0.6225, 0.6324)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0312 #032B1C
analogous
#2B0326 #2B0312 #2B0803
triadic
#2B0312 #122B03 #03122B
tetradic
#2B0312 #262B03 #032B1C #08032B
square
#2B0312 #262B03 #032B1C #08032B
split-complementary
#2B0312 #032B08 #03262B
monochromatic
#1D020C #1D020C #2B0312 #64072A #9D0B42

Accessibility & contrast

On white

18.68
#2B0312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0312
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0312#FFFFFF#000000##FFFFFF
##2B03121.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D12
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#300009
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0312;
/* rgb */ color: rgb(43, 3, 18);
/* oklch */ color: oklch(19.3% 0.069 2.0);
Tailwind
colors: {
  custom: {
    50: '#674750',
    500: '#2b0312',
    950: '#000000',
  },
}
SCSS
$custom: #2b0312;
$custom-light: #674750;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0312",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 337.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19297,
    "c": 0.06884,
    "h": 2
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#2B0312
secondary
#1B6F4F
accent
#FDAE2B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0312

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

Preview Lab → · Contrast checker → · Palette generator →

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