#300627#300627

#300627 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.081 H 338.0°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#300627
RGBrgb(48, 6, 39)
HSLhsl(313, 78%, 11%)
HSVhsv(313, 88%, 19%)
CMYKcmyk(0%, 87.5%, 18.7%, 81.2%)
CIE-LABlab(8.18, 25.26, -11.15)
CIE-LCHlch(8.18, 27.61, 336.19°)
OKLaboklab(21.91% 0.0747 -0.0303)
OKLCHoklch(21.91% 0.081 338)
XYZxyz(1.6503, 0.9053, 2.0069)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300627 #06300F
analogous
#240630 #300627 #300612
triadic
#300627 #273006 #062730
tetradic
#300627 #302406 #06300F #061230
square
#300627 #302406 #06300F #061230
split-complementary
#300627 #123006 #063024
monochromatic
#1B0316 #1B0316 #300627 #660D53 #9D147F

Accessibility & contrast

On white

17.78
#300627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#300627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300627
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300627#FFFFFF#000000##FFFFFF
##3006271.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#161A26
Tritanopia (blue-blind)
#330815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300627;
/* rgb */ color: rgb(48, 6, 39);
/* oklch */ color: oklch(21.9% 0.081 338.0);
Tailwind
colors: {
  custom: {
    50: '#6a4a61',
    500: '#300627',
    950: '#000000',
  },
}
SCSS
$custom: #300627;
$custom-light: #6a4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#300627",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 312.857,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21909,
    "c": 0.08063,
    "h": 338
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#300627
secondary
#217132
accent
#F45D34
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #300627

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

Preview Lab → · Contrast checker → · Palette generator →

#300627 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva