#300318#300318

#300318 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.076 H 357.0°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#300318
RGBrgb(48, 3, 24)
HSLhsl(332, 88%, 10%)
HSVhsv(332, 94%, 19%)
CMYKcmyk(0%, 93.8%, 50%, 81.2%)
CIE-LABlab(6.86, 24.50, -1.56)
CIE-LCHlch(6.86, 24.55, 356.36°)
OKLaboklab(20.67% 0.0762 -0.004)
OKLCHoklch(20.67% 0.076 357)
XYZxyz(1.4165, 0.7596, 0.9360)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300318 #03301B
analogous
#30032E #300318 #300503
triadic
#300318 #183003 #031830
tetradic
#300318 #2E3003 #03301B #050330
square
#300318 #2E3003 #03301B #050330
split-complementary
#300318 #033005 #032E30
monochromatic
#1D020E #1D020E #300318 #6A0735 #A30A52

Accessibility & contrast

On white

18.23
#300318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300318
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300318#FFFFFF#000000##FFFFFF
##3003181.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1019
Deuteranopia (green-blind)
#191817
Tritanopia (blue-blind)
#35000C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300318;
/* rgb */ color: rgb(48, 3, 24);
/* oklch */ color: oklch(20.7% 0.076 357.0);
Tailwind
colors: {
  custom: {
    50: '#6b4854',
    500: '#300318',
    950: '#000000',
  },
}
SCSS
$custom: #300318;
$custom-light: #6b4854;
$custom-dark: #000000;
JSON
{
  "hex": "#300318",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 332,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20665,
    "c": 0.07634,
    "h": 357
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#300318
secondary
#1B734A
accent
#FE9B29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300318

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

Preview Lab → · Contrast checker → · Palette generator →

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