#330518#330518

#330518 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.075 H 0.4°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#330518
RGBrgb(51, 5, 24)
HSLhsl(335, 82%, 11%)
HSVhsv(335, 90%, 20%)
CMYKcmyk(0%, 90.2%, 52.9%, 80%)
CIE-LABlab(7.94, 24.56, 0.09)
CIE-LCHlch(7.94, 24.56, 0.21°)
OKLaboklab(21.62% 0.0754 0.0005)
OKLCHoklch(21.62% 0.075 0.4)
XYZxyz(1.5845, 0.8785, 0.9501)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330518 #053320
analogous
#33052F #330518 #330905
triadic
#330518 #183305 #051833
tetradic
#330518 #2F3305 #053320 #090533
square
#330518 #2F3305 #053320 #090533
split-complementary
#330518 #053309 #052F33
monochromatic
#1C030D #1C030D #330518 #6B0A32 #A2104C

Accessibility & contrast

On white

17.86
#330518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#330518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330518
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330518#FFFFFF#000000##FFFFFF
##3305181.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1218
Deuteranopia (green-blind)
#1C1B17
Tritanopia (blue-blind)
#38010D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330518;
/* rgb */ color: rgb(51, 5, 24);
/* oklch */ color: oklch(21.6% 0.075 0.4);
Tailwind
colors: {
  custom: {
    50: '#6e4954',
    500: '#330518',
    950: '#000000',
  },
}
SCSS
$custom: #330518;
$custom-light: #6e4954;
$custom-dark: #000000;
JSON
{
  "hex": "#330518",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 335.217,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21623,
    "c": 0.07544,
    "h": 0.4
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#330518
secondary
#1F7451
accent
#F8A52F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #330518

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

Preview Lab → · Contrast checker → · Palette generator →

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