#481228#481228

#481228 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.085 H 359.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#481228
RGBrgb(72, 18, 40)
HSLhsl(336, 60%, 18%)
HSVhsv(336, 75%, 28%)
CMYKcmyk(0%, 75%, 44.4%, 71.8%)
CIE-LABlab(15.30, 27.75, -0.63)
CIE-LCHlch(15.30, 27.76, 358.71°)
OKLaboklab(28.09% 0.085 -0.0013)
OKLCHoklch(28.09% 0.085 359.1)
XYZxyz(3.2720, 1.9639, 2.2138)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481228 #124832
analogous
#481243 #481228 #481712
triadic
#481228 #284812 #122848
tetradic
#481228 #434812 #124832 #171248
square
#481228 #434812 #124832 #171248
split-complementary
#481228 #124817 #124348
monochromatic
#18060E #18060E #481228 #791E43 #AA2A5E

Accessibility & contrast

On white

15.08
#481228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#481228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481228
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481228#FFFFFF#000000##FFFFFF
##4812281.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2029
Deuteranopia (green-blind)
#2B2A27
Tritanopia (blue-blind)
#4E0C1B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #481228;
/* rgb */ color: rgb(72, 18, 40);
/* oklch */ color: oklch(28.1% 0.085 359.1);
Tailwind
colors: {
  custom: {
    50: '#7e5461',
    500: '#481228',
    950: '#000000',
  },
}
SCSS
$custom: #481228;
$custom-light: #7e5461;
$custom-dark: #000000;
JSON
{
  "hex": "#481228",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 335.556,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28091,
    "c": 0.08498,
    "h": 359.1
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#481228
secondary
#358162
accent
#E3A345
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #481228

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

Preview Lab → · Contrast checker → · Palette generator →

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