#2E0225#2E0225

#2E0225 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.086 H 337.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#2E0225
RGBrgb(46, 2, 37)
HSLhsl(312, 92%, 9%)
HSVhsv(312, 96%, 18%)
CMYKcmyk(0%, 95.7%, 19.6%, 82%)
CIE-LABlab(6.85, 26.45, -11.73)
CIE-LCHlch(6.85, 28.93, 336.08°)
OKLaboklab(20.79% 0.0792 -0.0322)
OKLCHoklch(20.79% 0.086 337.9)
XYZxyz(1.4824, 0.7580, 1.8181)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0225 #022E0B
analogous
#21022E #2E0225 #2E020F
triadic
#2E0225 #252E02 #02252E
tetradic
#2E0225 #2E2102 #022E0B #020F2E
square
#2E0225 #2E2102 #022E0B #020F2E
split-complementary
#2E0225 #0F2E02 #022E21
monochromatic
#1D0118 #1D0118 #2E0225 #690554 #A30783

Accessibility & contrast

On white

18.24
#2E0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E0225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0225
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0225#FFFFFF#000000##FFFFFF
##2E02251.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031126
Deuteranopia (green-blind)
#131824
Tritanopia (blue-blind)
#310412
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0225;
/* rgb */ color: rgb(46, 2, 37);
/* oklch */ color: oklch(20.8% 0.086 337.9);
Tailwind
colors: {
  custom: {
    50: '#69475f',
    500: '#2e0225',
    950: '#000000',
  },
}
SCSS
$custom: #2e0225;
$custom-light: #69475f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0225",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 312.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20787,
    "c": 0.08552,
    "h": 337.9
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#2E0225
secondary
#19732B
accent
#FF5529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2E0225

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

Preview Lab → · Contrast checker → · Palette generator →

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