#300128#300128

#300128 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.091 H 336.3°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#300128
RGBrgb(48, 1, 40)
HSLhsl(310, 96%, 10%)
HSVhsv(310, 98%, 19%)
CMYKcmyk(0%, 97.9%, 16.7%, 81.2%)
CIE-LABlab(7.26, 28.24, -13.34)
CIE-LCHlch(7.26, 31.23, 334.71°)
OKLaboklab(21.25% 0.0835 -0.0366)
OKLCHoklch(21.25% 0.091 336.3)
XYZxyz(1.6128, 0.8034, 2.0772)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300128 #013009
analogous
#210130 #300128 #300111
triadic
#300128 #283001 #012830
tetradic
#300128 #302101 #013009 #011130
square
#300128 #302101 #013009 #011130
split-complementary
#300128 #113001 #013021
monochromatic
#1E0119 #1E0119 #300128 #6C025A #A8038C

Accessibility & contrast

On white

18.09
#300128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300128
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300128#FFFFFF#000000##FFFFFF
##3001281.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021129
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#330414
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300128;
/* rgb */ color: rgb(48, 1, 40);
/* oklch */ color: oklch(21.3% 0.091 336.3);
Tailwind
colors: {
  custom: {
    50: '#6b4762',
    500: '#300128',
    950: '#000000',
  },
}
SCSS
$custom: #300128;
$custom-light: #6b4762;
$custom-dark: #000000;
JSON
{
  "hex": "#300128",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 310.213,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21254,
    "c": 0.09119,
    "h": 336.3
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#300128
secondary
#177627
accent
#FF4D29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#070005
muted
#7A7779

Preview Lab

Preview with #300128

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

Preview Lab → · Contrast checker → · Palette generator →

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