#300328#300328

#300328 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.5% C 0.087 H 336.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#300328
RGBrgb(48, 3, 40)
HSLhsl(311, 88%, 10%)
HSVhsv(311, 94%, 19%)
CMYKcmyk(0%, 93.8%, 16.7%, 81.2%)
CIE-LABlab(7.65, 27.12, -12.73)
CIE-LCHlch(7.65, 29.96, 334.86°)
OKLaboklab(21.55% 0.0799 -0.0348)
OKLCHoklch(21.55% 0.087 336.5)
XYZxyz(1.6345, 0.8469, 2.0844)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300328 #03300B
analogous
#220330 #300328 #300311
triadic
#300328 #283003 #032830
tetradic
#300328 #302203 #03300B #031130
square
#300328 #302203 #03300B #031130
split-complementary
#300328 #113003 #033022
monochromatic
#1D0218 #1D0218 #300328 #6A0758 #A30A88

Accessibility & contrast

On white

17.96
#300328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#300328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300328
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300328#FFFFFF#000000##FFFFFF
##3003281.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041229
Deuteranopia (green-blind)
#141927
Tritanopia (blue-blind)
#330514
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #300328;
/* rgb */ color: rgb(48, 3, 40);
/* oklch */ color: oklch(21.5% 0.087 336.5);
Tailwind
colors: {
  custom: {
    50: '#6b4862',
    500: '#300328',
    950: '#000000',
  },
}
SCSS
$custom: #300328;
$custom-light: #6b4862;
$custom-dark: #000000;
JSON
{
  "hex": "#300328",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 310.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21547,
    "c": 0.08718,
    "h": 336.5
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#300328
secondary
#1B732B
accent
#FE4F29
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #300328

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

Preview Lab → · Contrast checker → · Palette generator →

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