#300C2A#300C2A

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

Color values

HEX#300C2A
RGBrgb(48, 12, 42)
HSLhsl(310, 60%, 12%)
HSVhsv(310, 75%, 19%)
CMYKcmyk(0%, 75%, 12.5%, 81.2%)
CIE-LABlab(9.47, 22.70, -11.38)
CIE-LCHlch(9.47, 25.40, 333.37°)
OKLaboklab(22.91% 0.0659 -0.031)
OKLCHoklch(22.91% 0.073 334.8)
XYZxyz(1.7683, 1.0586, 2.3012)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2A #0C3012
analogous
#240C30 #300C2A #300C18
triadic
#300C2A #2A300C #0C2A30
tetradic
#300C2A #30240C #0C3012 #0C1830
square
#300C2A #30240C #0C3012 #0C1830
split-complementary
#300C2A #18300C #0C3024
monochromatic
#180615 #180615 #300C2A #611855 #922480

Accessibility & contrast

On white

17.33
#300C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C2A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2A#FFFFFF#000000##FFFFFF
##300C2A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#330E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300c2a;
/* rgb */ color: rgb(48, 12, 42);
/* oklch */ color: oklch(22.9% 0.073 334.8);
Tailwind
colors: {
  custom: {
    50: '#6a4e63',
    500: '#300c2a',
    950: '#000000',
  },
}
SCSS
$custom: #300c2a;
$custom-light: #6a4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2a",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22907,
    "c": 0.07285,
    "h": 334.8
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#300C2A
secondary
#2C6C37
accent
#E35F45
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #300C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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