#300118#300118

#300118 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.081 H 355.9°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#300118
RGBrgb(48, 1, 24)
HSLhsl(331, 96%, 10%)
HSVhsv(331, 98%, 19%)
CMYKcmyk(0%, 97.9%, 50%, 81.2%)
CIE-LABlab(6.47, 25.56, -2.13)
CIE-LCHlch(6.47, 25.65, 355.23°)
OKLaboklab(20.34% 0.0803 -0.0058)
OKLCHoklch(20.34% 0.081 355.9)
XYZxyz(1.3948, 0.7162, 0.9288)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300118 #013019
analogous
#300130 #300118 #300101
triadic
#300118 #183001 #011830
tetradic
#300118 #303001 #013019 #010130
square
#300118 #303001 #013019 #010130
split-complementary
#300118 #013001 #013030
monochromatic
#1E010F #1E010F #300118 #6C0236 #A80354

Accessibility & contrast

On white

18.37
#300118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#300118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300118
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300118#FFFFFF#000000##FFFFFF
##3001181.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0E19
Deuteranopia (green-blind)
#181817
Tritanopia (blue-blind)
#35000A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #300118;
/* rgb */ color: rgb(48, 1, 24);
/* oklch */ color: oklch(20.3% 0.081 355.9);
Tailwind
colors: {
  custom: {
    50: '#6b4754',
    500: '#300118',
    950: '#000000',
  },
}
SCSS
$custom: #300118;
$custom-light: #6b4754;
$custom-dark: #000000;
JSON
{
  "hex": "#300118",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 330.638,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20343,
    "c": 0.08055,
    "h": 355.9
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#300118
secondary
#177647
accent
#FF9629
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300118

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

Preview Lab → · Contrast checker → · Palette generator →

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