#300028#300028

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

Color values

HEX#300028
RGBrgb(48, 0, 40)
HSLhsl(310, 100%, 9%)
HSVhsv(310, 100%, 19%)
CMYKcmyk(0%, 100%, 16.7%, 81.2%)
CIE-LABlab(7.06, 28.80, -13.65)
CIE-LCHlch(7.06, 31.87, 334.64°)
OKLaboklab(21.1% 0.0854 -0.0375)
OKLCHoklch(21.1% 0.093 336.3)
XYZxyz(1.6020, 0.7817, 2.0736)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300028 #003008
analogous
#200030 #300028 #300010
triadic
#300028 #283000 #002830
tetradic
#300028 #302000 #003008 #001030
square
#300028 #302000 #003008 #001030
split-complementary
#300028 #103000 #003020
monochromatic
#1F0019 #1F0019 #300028 #6D005B #AA008E

Accessibility & contrast

On white

18.16
#300028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300028
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300028#FFFFFF#000000##FFFFFF
##3000281.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300028;
/* rgb */ color: rgb(48, 0, 40);
/* oklch */ color: oklch(21.1% 0.093 336.3);
Tailwind
colors: {
  custom: {
    50: '#6b4762',
    500: '#300028',
    950: '#000000',
  },
}
SCSS
$custom: #300028;
$custom-light: #6b4762;
$custom-dark: #000000;
JSON
{
  "hex": "#300028",
  "rgb": {
    "r": 48,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 310,
    "s": 100,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21104,
    "c": 0.09328,
    "h": 336.3
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#300028
secondary
#157725
accent
#FF4C29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#070005
muted
#7A7779

Preview Lab

Preview with #300028

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

Preview Lab → · Contrast checker → · Palette generator →

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