#2B0423#2B0423

#2B0423 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.078 H 337.5°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#2B0423
RGBrgb(43, 4, 35)
HSLhsl(312, 83%, 9%)
HSVhsv(312, 91%, 17%)
CMYKcmyk(0%, 90.7%, 18.6%, 83.1%)
CIE-LABlab(6.52, 23.81, -10.75)
CIE-LCHlch(6.52, 26.12, 335.71°)
OKLaboklab(20.36% 0.0716 -0.0297)
OKLCHoklch(20.36% 0.078 337.5)
XYZxyz(1.3431, 0.7219, 1.6584)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0423 #042B0C
analogous
#20042B #2B0423 #2B0410
triadic
#2B0423 #232B04 #04232B
tetradic
#2B0423 #2B2004 #042B0C #04102B
square
#2B0423 #2B2004 #042B0C #04102B
split-complementary
#2B0423 #102B04 #042B20
monochromatic
#1C0317 #1C0317 #2B0423 #630951 #9B0E7E

Accessibility & contrast

On white

18.35
#2B0423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0423
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0423#FFFFFF#000000##FFFFFF
##2B04231.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051024
Deuteranopia (green-blind)
#121722
Tritanopia (blue-blind)
#2E0612
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0423;
/* rgb */ color: rgb(43, 4, 35);
/* oklch */ color: oklch(20.4% 0.078 337.5);
Tailwind
colors: {
  custom: {
    50: '#66485e',
    500: '#2b0423',
    950: '#000000',
  },
}
SCSS
$custom: #2b0423;
$custom-light: #66485e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0423",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 35
  },
  "hsl": {
    "h": 312.308,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20357,
    "c": 0.07755,
    "h": 337.5
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#2B0423
secondary
#1D6E2E
accent
#F9582E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2B0423

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

Preview Lab → · Contrast checker → · Palette generator →

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