#300628#300628

#300628 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.081 H 336.8°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#300628
RGBrgb(48, 6, 40)
HSLhsl(311, 78%, 11%)
HSVhsv(311, 88%, 19%)
CMYKcmyk(0%, 87.5%, 16.7%, 81.2%)
CIE-LABlab(8.24, 25.45, -11.81)
CIE-LCHlch(8.24, 28.05, 335.10°)
OKLaboklab(21.97% 0.0749 -0.0321)
OKLCHoklch(21.97% 0.081 336.8)
XYZxyz(1.6671, 0.9120, 2.0953)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300628 #06300E
analogous
#230630 #300628 #300613
triadic
#300628 #283006 #062830
tetradic
#300628 #302306 #06300E #061330
square
#300628 #302306 #06300E #061330
split-complementary
#300628 #133006 #063023
monochromatic
#1B0317 #1B0317 #300628 #660D55 #9D1483

Accessibility & contrast

On white

17.76
#300628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300628
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300628#FFFFFF#000000##FFFFFF
##3006281.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#330816
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300628;
/* rgb */ color: rgb(48, 6, 40);
/* oklch */ color: oklch(22.0% 0.081 336.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a62',
    500: '#300628',
    950: '#000000',
  },
}
SCSS
$custom: #300628;
$custom-light: #6a4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#300628",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 311.429,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.08148,
    "h": 336.8
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#300628
secondary
#217130
accent
#F45834
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #300628

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

Preview Lab → · Contrast checker → · Palette generator →

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