#2B0418#2B0418

#2B0418 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.069 H 353.2°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2B0418
RGBrgb(43, 4, 24)
HSLhsl(329, 83%, 9%)
HSVhsv(329, 91%, 17%)
CMYKcmyk(0%, 90.7%, 44.2%, 83.1%)
CIE-LABlab(6.02, 21.66, -2.91)
CIE-LCHlch(6.02, 21.85, 352.35°)
OKLaboklab(19.74% 0.069 -0.0083)
OKLCHoklch(19.74% 0.069 353.2)
XYZxyz(1.2046, 0.6665, 0.9292)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0418 #042B17
analogous
#2B042B #2B0418 #2B0404
triadic
#2B0418 #182B04 #04182B
tetradic
#2B0418 #2B2B04 #042B17 #04042B
square
#2B0418 #2B2B04 #042B17 #04042B
split-complementary
#2B0418 #042B04 #042B2B
monochromatic
#1C0310 #1C0310 #2B0418 #630937 #9B0E57

Accessibility & contrast

On white

18.53
#2B0418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0418
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0418#FFFFFF#000000##FFFFFF
##2B04181.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0F19
Deuteranopia (green-blind)
#161617
Tritanopia (blue-blind)
#2F020C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0418;
/* rgb */ color: rgb(43, 4, 24);
/* oklch */ color: oklch(19.7% 0.069 353.2);
Tailwind
colors: {
  custom: {
    50: '#664854',
    500: '#2b0418',
    950: '#000000',
  },
}
SCSS
$custom: #2b0418;
$custom-light: #664854;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0418",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 329.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19738,
    "c": 0.06949,
    "h": 353.2
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#2B0418
secondary
#1D6E44
accent
#F9912E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0418

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

Preview Lab → · Contrast checker → · Palette generator →

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