#300412#300412

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

Color values

HEX#300412
RGBrgb(48, 4, 18)
HSLhsl(341, 85%, 10%)
HSVhsv(341, 92%, 19%)
CMYKcmyk(0%, 91.7%, 62.5%, 81.2%)
CIE-LABlab(6.86, 23.21, 2.58)
CIE-LCHlch(6.86, 23.35, 6.33°)
OKLaboklab(20.59% 0.0717 0.008)
OKLCHoklch(20.59% 0.072 6.4)
XYZxyz(1.3716, 0.7591, 0.6464)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300412 #043022
analogous
#300428 #300412 #300C04
triadic
#300412 #123004 #041230
tetradic
#300412 #283004 #043022 #0C0430
square
#300412 #283004 #043022 #0C0430
split-complementary
#300412 #04300C #042830
monochromatic
#1C020B #1C020B #300412 #680927 #A10D3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##300412#FFFFFF#000000##FFFFFF
##3004121.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)
#0E0F12
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#350009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300412;
/* rgb */ color: rgb(48, 4, 18);
/* oklch */ color: oklch(20.6% 0.072 6.4);
Tailwind
colors: {
  custom: {
    50: '#6c4850',
    500: '#300412',
    950: '#000000',
  },
}
SCSS
$custom: #300412;
$custom-light: #6c4850;
$custom-dark: #000000;
JSON
{
  "hex": "#300412",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 340.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20588,
    "c": 0.07211,
    "h": 6.4
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#300412
secondary
#1D7257
accent
#FBB92D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #300412

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

Preview Lab → · Contrast checker → · Palette generator →

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