#330826#330826

#330826 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.079 H 342.4°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#330826
RGBrgb(51, 8, 38)
HSLhsl(318, 73%, 12%)
HSVhsv(318, 84%, 20%)
CMYKcmyk(0%, 84.3%, 25.5%, 80%)
CIE-LABlab(9.14, 24.97, -8.85)
CIE-LCHlch(9.14, 26.50, 340.49°)
OKLaboklab(22.71% 0.075 -0.0237)
OKLCHoklch(22.71% 0.079 342.4)
XYZxyz(1.8020, 1.0176, 1.9349)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330826 #083315
analogous
#2B0833 #330826 #330811
triadic
#330826 #263308 #082633
tetradic
#330826 #332B08 #083315 #081133
square
#330826 #332B08 #083315 #081133
split-complementary
#330826 #113308 #08332B
monochromatic
#1A0414 #1A0414 #330826 #68104D #9D1975

Accessibility & contrast

On white

17.45
#330826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330826
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330826#FFFFFF#000000##FFFFFF
##3308261.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1527
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#370815
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330826;
/* rgb */ color: rgb(51, 8, 38);
/* oklch */ color: oklch(22.7% 0.079 342.4);
Tailwind
colors: {
  custom: {
    50: '#6d4c60',
    500: '#330826',
    950: '#000000',
  },
}
SCSS
$custom: #330826;
$custom-light: #6d4c60;
$custom-dark: #000000;
JSON
{
  "hex": "#330826",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 318.14,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2271,
    "c": 0.07865,
    "h": 342.4
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#330826
secondary
#25723C
accent
#F07038
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330826

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

Preview Lab → · Contrast checker → · Palette generator →

#330826 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva