#330827#330827

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

Color values

HEX#330827
RGBrgb(51, 8, 39)
HSLhsl(317, 73%, 12%)
HSVhsv(317, 84%, 20%)
CMYKcmyk(0%, 84.3%, 23.5%, 80%)
CIE-LABlab(9.19, 25.14, -9.52)
CIE-LCHlch(9.19, 26.89, 339.26°)
OKLaboklab(22.77% 0.0752 -0.0256)
OKLCHoklch(22.77% 0.079 341.2)
XYZxyz(1.8183, 1.0241, 2.0210)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330827 #083314
analogous
#2A0833 #330827 #330812
triadic
#330827 #273308 #082733
tetradic
#330827 #332A08 #083314 #081233
square
#330827 #332A08 #083314 #081233
split-complementary
#330827 #123308 #08332A
monochromatic
#1A0414 #1A0414 #330827 #68104F #9D1978

Accessibility & contrast

On white

17.43
#330827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330827
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330827#FFFFFF#000000##FFFFFF
##3308271.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1528
Deuteranopia (green-blind)
#191C26
Tritanopia (blue-blind)
#370916
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330827;
/* rgb */ color: rgb(51, 8, 39);
/* oklch */ color: oklch(22.8% 0.079 341.2);
Tailwind
colors: {
  custom: {
    50: '#6d4c61',
    500: '#330827',
    950: '#000000',
  },
}
SCSS
$custom: #330827;
$custom-light: #6d4c61;
$custom-dark: #000000;
JSON
{
  "hex": "#330827",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 316.744,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22766,
    "c": 0.07945,
    "h": 341.2
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#330827
secondary
#25723A
accent
#F06B38
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #330827

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

Preview Lab → · Contrast checker → · Palette generator →

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