#300F2A#300F2A

#300F2A is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.067 H 335.1°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#300F2A
RGBrgb(48, 15, 42)
HSLhsl(311, 52%, 12%)
HSVhsv(311, 69%, 19%)
CMYKcmyk(0%, 68.7%, 12.5%, 81.2%)
CIE-LABlab(10.09, 21.02, -10.42)
CIE-LCHlch(10.09, 23.47, 333.62°)
OKLaboklab(23.36% 0.061 -0.0283)
OKLCHoklch(23.36% 0.067 335.1)
XYZxyz(1.8077, 1.1373, 2.3144)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2A #0F3015
analogous
#260F30 #300F2A #300F1A
triadic
#300F2A #2A300F #0F2A30
tetradic
#300F2A #30260F #0F3015 #0F1A30
square
#300F2A #30260F #0F3015 #0F1A30
split-complementary
#300F2A #1A300F #0F3026
monochromatic
#170714 #170714 #300F2A #5F1E53 #8D2C7C

Accessibility & contrast

On white

17.11
#300F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F2A
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2A#FFFFFF#000000##FFFFFF
##300F2A1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192B
Deuteranopia (green-blind)
#191D29
Tritanopia (blue-blind)
#33111A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2a;
/* rgb */ color: rgb(48, 15, 42);
/* oklch */ color: oklch(23.4% 0.067 335.1);
Tailwind
colors: {
  custom: {
    50: '#6a4f63',
    500: '#300f2a',
    950: '#000000',
  },
}
SCSS
$custom: #300f2a;
$custom-light: #6a4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2a",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 310.909,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23358,
    "c": 0.06724,
    "h": 335.1
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#300F2A
secondary
#316A3B
accent
#DC664C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #300F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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