#300312#300312

#300312 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.074 H 5.6°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#300312
RGBrgb(48, 3, 18)
HSLhsl(340, 88%, 10%)
HSVhsv(340, 94%, 19%)
CMYKcmyk(0%, 93.8%, 62.5%, 81.2%)
CIE-LABlab(6.66, 23.73, 2.29)
CIE-LCHlch(6.66, 23.84, 5.51°)
OKLaboklab(20.43% 0.0737 0.0073)
OKLCHoklch(20.43% 0.074 5.6)
XYZxyz(1.3608, 0.7374, 0.6428)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300312 #033021
analogous
#300328 #300312 #300B03
triadic
#300312 #123003 #031230
tetradic
#300312 #283003 #033021 #0B0330
square
#300312 #283003 #033021 #0B0330
split-complementary
#300312 #03300B #032830
monochromatic
#1D020B #1D020B #300312 #6A0728 #A30A3D

Accessibility & contrast

On white

18.30
#300312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300312
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300312#FFFFFF#000000##FFFFFF
##3003121.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.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: #300312;
/* rgb */ color: rgb(48, 3, 18);
/* oklch */ color: oklch(20.4% 0.074 5.6);
Tailwind
colors: {
  custom: {
    50: '#6c4850',
    500: '#300312',
    950: '#000000',
  },
}
SCSS
$custom: #300312;
$custom-light: #6c4850;
$custom-dark: #000000;
JSON
{
  "hex": "#300312",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 340,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20427,
    "c": 0.07404,
    "h": 5.6
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#300312
secondary
#1B7356
accent
#FEB729
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300312

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

Preview Lab → · Contrast checker → · Palette generator →

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