#2E0526#2E0526

#2E0526 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.080 H 337.0°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#2E0526
RGBrgb(46, 5, 38)
HSLhsl(312, 80%, 10%)
HSVhsv(312, 89%, 18%)
CMYKcmyk(0%, 89.1%, 17.4%, 82%)
CIE-LABlab(7.49, 25.01, -11.49)
CIE-LCHlch(7.49, 27.52, 335.33°)
OKLaboklab(21.31% 0.0739 -0.0313)
OKLCHoklch(21.31% 0.08 337)
XYZxyz(1.5309, 0.8295, 1.9128)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0526 #052E0D
analogous
#21052E #2E0526 #2E0512
triadic
#2E0526 #262E05 #05262E
tetradic
#2E0526 #2E2105 #052E0D #05122E
square
#2E0526 #2E2105 #052E0D #05122E
split-complementary
#2E0526 #122E05 #052E21
monochromatic
#1C0317 #1C0317 #2E0526 #650B54 #9C1181

Accessibility & contrast

On white

18.01
#2E0526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E0526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0526
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0526#FFFFFF#000000##FFFFFF
##2E05261.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061227
Deuteranopia (green-blind)
#141925
Tritanopia (blue-blind)
#310714
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0526;
/* rgb */ color: rgb(46, 5, 38);
/* oklch */ color: oklch(21.3% 0.080 337.0);
Tailwind
colors: {
  custom: {
    50: '#694960',
    500: '#2e0526',
    950: '#000000',
  },
}
SCSS
$custom: #2e0526;
$custom-light: #694960;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0526",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 311.707,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21306,
    "c": 0.08022,
    "h": 337
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#2E0526
secondary
#1F702F
accent
#F75831
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0526

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

Preview Lab → · Contrast checker → · Palette generator →

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