#301128#301128

#301128 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.6% C 0.061 H 338.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#301128
RGBrgb(48, 17, 40)
HSLhsl(315, 48%, 13%)
HSVhsv(315, 65%, 19%)
CMYKcmyk(0%, 64.6%, 16.7%, 81.2%)
CIE-LABlab(10.43, 19.42, -8.41)
CIE-LCHlch(10.43, 21.16, 336.58°)
OKLaboklab(23.58% 0.057 -0.0226)
OKLCHoklch(23.58% 0.061 338.3)
XYZxyz(1.8024, 1.1826, 2.1404)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301128 #113019
analogous
#281130 #301128 #301118
triadic
#301128 #283011 #112830
tetradic
#301128 #302811 #113019 #111830
square
#301128 #302811 #113019 #111830
split-complementary
#301128 #183011 #113028
monochromatic
#170813 #170813 #301128 #5D214E #8A3173

Accessibility & contrast

On white

16.98
#301128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#301128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301128
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301128#FFFFFF#000000##FFFFFF
##3011281.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121929
Deuteranopia (green-blind)
#1B1E27
Tritanopia (blue-blind)
#33121A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #301128;
/* rgb */ color: rgb(48, 17, 40);
/* oklch */ color: oklch(23.6% 0.061 338.3);
Tailwind
colors: {
  custom: {
    50: '#695062',
    500: '#301128',
    950: '#000000',
  },
}
SCSS
$custom: #301128;
$custom-light: #695062;
$custom-dark: #000000;
JSON
{
  "hex": "#301128",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 315.484,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23576,
    "c": 0.0613,
    "h": 338.3
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#301128
secondary
#346942
accent
#D77351
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #301128

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

Preview Lab → · Contrast checker → · Palette generator →

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