#300D28#300D28

#300D28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.069 H 337.6°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#300D28
RGBrgb(48, 13, 40)
HSLhsl(314, 57%, 12%)
HSVhsv(314, 73%, 19%)
CMYKcmyk(0%, 72.9%, 16.7%, 81.2%)
CIE-LABlab(9.56, 21.76, -9.75)
CIE-LCHlch(9.56, 23.85, 335.86°)
OKLaboklab(22.93% 0.0639 -0.0264)
OKLCHoklch(22.93% 0.069 337.6)
XYZxyz(1.7459, 1.0696, 2.1216)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D28 #0D3015
analogous
#270D30 #300D28 #300D17
triadic
#300D28 #28300D #0D2830
tetradic
#300D28 #30270D #0D3015 #0D1730
square
#300D28 #30270D #0D3015 #0D1730
split-complementary
#300D28 #17300D #0D3027
monochromatic
#180714 #180714 #300D28 #601A50 #902778

Accessibility & contrast

On white

17.30
#300D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D28
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D28#FFFFFF#000000##FFFFFF
##300D281.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#191D27
Tritanopia (blue-blind)
#330E18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300d28;
/* rgb */ color: rgb(48, 13, 40);
/* oklch */ color: oklch(22.9% 0.069 337.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e62',
    500: '#300d28',
    950: '#000000',
  },
}
SCSS
$custom: #300d28;
$custom-light: #6a4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#300d28",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 313.714,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22934,
    "c": 0.06914,
    "h": 337.6
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#300D28
secondary
#2E6B3C
accent
#E16A47
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #300D28

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

Preview Lab → · Contrast checker → · Palette generator →

#300D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva