#300418#300418

#300418 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.074 H 357.5°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#300418
RGBrgb(48, 4, 24)
HSLhsl(333, 85%, 10%)
HSVhsv(333, 92%, 19%)
CMYKcmyk(0%, 91.7%, 50%, 81.2%)
CIE-LABlab(7.06, 23.97, -1.27)
CIE-LCHlch(7.06, 24.00, 356.96°)
OKLaboklab(20.82% 0.0743 -0.0032)
OKLCHoklch(20.82% 0.074 357.5)
XYZxyz(1.4273, 0.7813, 0.9396)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300418 #04301C
analogous
#30042E #300418 #300604
triadic
#300418 #183004 #041830
tetradic
#300418 #2E3004 #04301C #060430
square
#300418 #2E3004 #04301C #060430
split-complementary
#300418 #043006 #042E30
monochromatic
#1C020E #1C020E #300418 #680934 #A10D50

Accessibility & contrast

On white

18.16
#300418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#300418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300418
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300418#FFFFFF#000000##FFFFFF
##3004181.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1019
Deuteranopia (green-blind)
#191917
Tritanopia (blue-blind)
#35010C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300418;
/* rgb */ color: rgb(48, 4, 24);
/* oklch */ color: oklch(20.8% 0.074 357.5);
Tailwind
colors: {
  custom: {
    50: '#6b4854',
    500: '#300418',
    950: '#000000',
  },
}
SCSS
$custom: #300418;
$custom-light: #6b4854;
$custom-dark: #000000;
JSON
{
  "hex": "#300418",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 332.727,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20822,
    "c": 0.07433,
    "h": 357.5
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#300418
secondary
#1D724C
accent
#FB9D2D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #300418

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

Preview Lab → · Contrast checker → · Palette generator →

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