#351228#351228

#351228 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.6% C 0.064 H 344.3°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#351228
RGBrgb(53, 18, 40)
HSLhsl(322, 49%, 14%)
HSVhsv(322, 66%, 21%)
CMYKcmyk(0%, 66%, 24.5%, 79.2%)
CIE-LABlab(11.57, 20.73, -6.58)
CIE-LCHlch(11.57, 21.75, 342.39°)
OKLaboklab(24.61% 0.062 -0.0175)
OKLCHoklch(24.61% 0.064 344.3)
XYZxyz(2.0676, 1.3429, 2.1574)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351228 #12351F
analogous
#311235 #351228 #351217
triadic
#351228 #283512 #122835
tetradic
#351228 #353112 #12351F #121735
square
#351228 #353112 #12351F #121735
split-complementary
#351228 #173512 #123531
monochromatic
#170811 #170811 #351228 #63224A #90316D

Accessibility & contrast

On white

16.55
#351228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#351228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351228
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351228#FFFFFF#000000##FFFFFF
##3512281.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#1F2127
Tritanopia (blue-blind)
#39121B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #351228;
/* rgb */ color: rgb(53, 18, 40);
/* oklch */ color: oklch(24.6% 0.064 344.3);
Tailwind
colors: {
  custom: {
    50: '#6e5261',
    500: '#351228',
    950: '#000000',
  },
}
SCSS
$custom: #351228;
$custom-light: #6e5261;
$custom-dark: #000000;
JSON
{
  "hex": "#351228",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 322.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2461,
    "c": 0.0644,
    "h": 344.3
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#351228
secondary
#356D4A
accent
#D9824F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #351228

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

Preview Lab → · Contrast checker → · Palette generator →

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