#300C27#300C27

#300C27 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.070 H 338.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#300C27
RGBrgb(48, 12, 39)
HSLhsl(315, 60%, 12%)
HSVhsv(315, 75%, 19%)
CMYKcmyk(0%, 75%, 18.7%, 81.2%)
CIE-LABlab(9.30, 22.11, -9.40)
CIE-LCHlch(9.30, 24.03, 336.98°)
OKLaboklab(22.73% 0.0653 -0.0254)
OKLCHoklch(22.73% 0.07 338.8)
XYZxyz(1.7166, 1.0380, 2.0290)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C27 #0C3015
analogous
#270C30 #300C27 #300C15
triadic
#300C27 #27300C #0C2730
tetradic
#300C27 #30270C #0C3015 #0C1530
square
#300C27 #30270C #0C3015 #0C1530
split-complementary
#300C27 #15300C #0C3027
monochromatic
#180614 #180614 #300C27 #61184F #922477

Accessibility & contrast

On white

17.39
#300C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C27
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C27#FFFFFF#000000##FFFFFF
##300C271.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1628
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#330D17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300c27;
/* rgb */ color: rgb(48, 12, 39);
/* oklch */ color: oklch(22.7% 0.070 338.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d61',
    500: '#300c27',
    950: '#000000',
  },
}
SCSS
$custom: #300c27;
$custom-light: #6a4d61;
$custom-dark: #000000;
JSON
{
  "hex": "#300c27",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 315,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2273,
    "c": 0.07006,
    "h": 338.8
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#300C27
secondary
#2C6C3C
accent
#E36C45
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #300C27

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

Preview Lab → · Contrast checker → · Palette generator →

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