#300F28#300F28

#300F28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.065 H 337.9°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#300F28
RGBrgb(48, 15, 40)
HSLhsl(315, 52%, 12%)
HSVhsv(315, 69%, 19%)
CMYKcmyk(0%, 68.7%, 16.7%, 81.2%)
CIE-LABlab(9.98, 20.62, -9.10)
CIE-LCHlch(9.98, 22.54, 336.18°)
OKLaboklab(23.24% 0.0605 -0.0246)
OKLCHoklch(23.24% 0.065 337.9)
XYZxyz(1.7728, 1.1234, 2.1305)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F28 #0F3017
analogous
#270F30 #300F28 #300F18
triadic
#300F28 #28300F #0F2830
tetradic
#300F28 #30270F #0F3017 #0F1830
square
#300F28 #30270F #0F3017 #0F1830
split-complementary
#300F28 #18300F #0F3027
monochromatic
#170713 #170713 #300F28 #5F1E4F #8D2C76

Accessibility & contrast

On white

17.15
#300F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F28
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F28#FFFFFF#000000##FFFFFF
##300F281.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101829
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#331019
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300f28;
/* rgb */ color: rgb(48, 15, 40);
/* oklch */ color: oklch(23.2% 0.065 337.9);
Tailwind
colors: {
  custom: {
    50: '#6a4f62',
    500: '#300f28',
    950: '#000000',
  },
}
SCSS
$custom: #300f28;
$custom-light: #6a4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#300f28",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 314.545,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23244,
    "c": 0.06531,
    "h": 337.9
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#300F28
secondary
#316A3F
accent
#DC6F4C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #300F28

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

Preview Lab → · Contrast checker → · Palette generator →

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