#302028#302028

#302028 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.6% C 0.028 H 347.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#302028
RGBrgb(48, 32, 40)
HSLhsl(330, 20%, 16%)
HSVhsv(330, 33%, 19%)
CMYKcmyk(0%, 33.3%, 16.7%, 81.2%)
CIE-LABlab(14.48, 9.32, -2.29)
CIE-LCHlch(14.48, 9.60, 346.18°)
OKLaboklab(26.64% 0.0275 -0.006)
OKLCHoklch(26.64% 0.028 347.7)
XYZxyz(2.1184, 1.8147, 2.2458)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302028 #203028
analogous
#302030 #302028 #302020
triadic
#302028 #283020 #202830
tetradic
#302028 #303020 #203028 #202030
square
#302028 #303020 #203028 #202030
split-complementary
#302028 #203020 #203030
monochromatic
#120C0F #120C0F #302028 #553847 #795165

Accessibility & contrast

On white

15.41
#302028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#302028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302028
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302028#FFFFFF#000000##FFFFFF
##3020281.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#322023
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #302028;
/* rgb */ color: rgb(48, 32, 40);
/* oklch */ color: oklch(26.6% 0.028 347.7);
Tailwind
colors: {
  custom: {
    50: '#685b61',
    500: '#302028',
    950: '#000000',
  },
}
SCSS
$custom: #302028;
$custom-light: #685b61;
$custom-dark: #000000;
JSON
{
  "hex": "#302028",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 330,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26639,
    "c": 0.0281,
    "h": 347.7
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#302028
secondary
#4A6256
accent
#BD946B
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060405
muted
#7A7979

Preview Lab

Preview with #302028

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

Preview Lab → · Contrast checker → · Palette generator →

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