#330526#330526

#330526 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.084 H 341.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#330526
RGBrgb(51, 5, 38)
HSLhsl(317, 82%, 11%)
HSVhsv(317, 90%, 20%)
CMYKcmyk(0%, 90.2%, 25.5%, 80%)
CIE-LABlab(8.59, 26.53, -9.70)
CIE-LCHlch(8.59, 28.24, 339.92°)
OKLaboklab(22.31% 0.0798 -0.0261)
OKLCHoklch(22.31% 0.084 341.9)
XYZxyz(1.7694, 0.9525, 1.9240)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330526 #053312
analogous
#290533 #330526 #33050F
triadic
#330526 #263305 #052633
tetradic
#330526 #332905 #053312 #050F33
square
#330526 #332905 #053312 #050F33
split-complementary
#330526 #0F3305 #053329
monochromatic
#1C0315 #1C0315 #330526 #6B0A50 #A21079

Accessibility & contrast

On white

17.64
#330526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#330526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330526
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330526#FFFFFF#000000##FFFFFF
##3305261.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091427
Deuteranopia (green-blind)
#181B25
Tritanopia (blue-blind)
#370614
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330526;
/* rgb */ color: rgb(51, 5, 38);
/* oklch */ color: oklch(22.3% 0.084 341.9);
Tailwind
colors: {
  custom: {
    50: '#6d4a60',
    500: '#330526',
    950: '#000000',
  },
}
SCSS
$custom: #330526;
$custom-light: #6d4a60;
$custom-dark: #000000;
JSON
{
  "hex": "#330526",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 316.957,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22312,
    "c": 0.0839,
    "h": 341.9
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#330526
secondary
#1F7437
accent
#F8682F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330526

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

Preview Lab → · Contrast checker → · Palette generator →

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