#300127#300127

#300127 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.090 H 337.4°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#300127
RGBrgb(48, 1, 39)
HSLhsl(311, 96%, 10%)
HSVhsv(311, 98%, 19%)
CMYKcmyk(0%, 97.9%, 18.7%, 81.2%)
CIE-LABlab(7.20, 28.05, -12.68)
CIE-LCHlch(7.20, 30.78, 335.68°)
OKLaboklab(21.19% 0.0835 -0.0347)
OKLCHoklch(21.19% 0.09 337.4)
XYZxyz(1.5960, 0.7967, 1.9888)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300127 #01300A
analogous
#220130 #300127 #300110
triadic
#300127 #273001 #012730
tetradic
#300127 #302201 #01300A #011030
square
#300127 #302201 #01300A #011030
split-complementary
#300127 #103001 #013022
monochromatic
#1E0118 #1E0118 #300127 #6C0258 #A80388

Accessibility & contrast

On white

18.11
#300127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#300127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300127
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300127#FFFFFF#000000##FFFFFF
##3001271.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#131926
Tritanopia (blue-blind)
#330313
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300127;
/* rgb */ color: rgb(48, 1, 39);
/* oklch */ color: oklch(21.2% 0.090 337.4);
Tailwind
colors: {
  custom: {
    50: '#6b4761',
    500: '#300127',
    950: '#000000',
  },
}
SCSS
$custom: #300127;
$custom-light: #6b4761;
$custom-dark: #000000;
JSON
{
  "hex": "#300127",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 311.489,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21186,
    "c": 0.09041,
    "h": 337.4
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#300127
secondary
#177629
accent
#FF5229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070005
muted
#7A7779

Preview Lab

Preview with #300127

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

Preview Lab → · Contrast checker → · Palette generator →

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