#300815#300815

#300815 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.3% C 0.066 H 4.8°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#300815
RGBrgb(48, 8, 21)
HSLhsl(341, 71%, 11%)
HSVhsv(341, 83%, 19%)
CMYKcmyk(0%, 83.3%, 56.2%, 81.2%)
CIE-LABlab(7.74, 21.45, 1.91)
CIE-LCHlch(7.74, 21.53, 5.10°)
OKLaboklab(21.31% 0.0656 0.0055)
OKLCHoklch(21.31% 0.066 4.8)
XYZxyz(1.4412, 0.8564, 0.7987)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300815 #083023
analogous
#300829 #300815 #300F08
triadic
#300815 #153008 #081530
tetradic
#300815 #293008 #083023 #0F0830
square
#300815 #293008 #083023 #0F0830
split-complementary
#300815 #08300F #082930
monochromatic
#1A040B #1A040B #300815 #64112C #991943

Accessibility & contrast

On white

17.93
#300815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#300815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300815
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300815#FFFFFF#000000##FFFFFF
##3008151.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111215
Deuteranopia (green-blind)
#1B1A14
Tritanopia (blue-blind)
#35030D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #300815;
/* rgb */ color: rgb(48, 8, 21);
/* oklch */ color: oklch(21.3% 0.066 4.8);
Tailwind
colors: {
  custom: {
    50: '#6b4b52',
    500: '#300815',
    950: '#000000',
  },
}
SCSS
$custom: #300815;
$custom-light: #6b4b52;
$custom-dark: #000000;
JSON
{
  "hex": "#300815",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 21
  },
  "hsl": {
    "h": 340.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21311,
    "c": 0.06579,
    "h": 4.8
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#300815
secondary
#256F57
accent
#EEB33A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #300815

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

Preview Lab → · Contrast checker → · Palette generator →

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