#451228#451228

#451228 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.5% C 0.082 H 357.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#451228
RGBrgb(69, 18, 40)
HSLhsl(334, 59%, 17%)
HSVhsv(334, 74%, 27%)
CMYKcmyk(0%, 73.9%, 42%, 72.9%)
CIE-LABlab(14.69, 26.68, -1.59)
CIE-LCHlch(14.69, 26.73, 356.58°)
OKLaboklab(27.52% 0.0816 -0.0038)
OKLCHoklch(27.52% 0.082 357.3)
XYZxyz(3.0537, 1.8514, 2.2036)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451228 #12452F
analogous
#451242 #451228 #451612
triadic
#451228 #284512 #122845
tetradic
#451228 #424512 #12452F #161245
square
#451228 #424512 #12452F #161245
split-complementary
#451228 #124516 #124245
monochromatic
#18060E #18060E #451228 #761F44 #A62B60

Accessibility & contrast

On white

15.33
#451228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#451228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451228
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451228#FFFFFF#000000##FFFFFF
##4512281.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#292927
Tritanopia (blue-blind)
#4B0D1B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #451228;
/* rgb */ color: rgb(69, 18, 40);
/* oklch */ color: oklch(27.5% 0.082 357.3);
Tailwind
colors: {
  custom: {
    50: '#7b5461',
    500: '#451228',
    950: '#000000',
  },
}
SCSS
$custom: #451228;
$custom-light: #7b5461;
$custom-dark: #000000;
JSON
{
  "hex": "#451228",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 334.118,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27524,
    "c": 0.08172,
    "h": 357.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#451228
secondary
#357E5E
accent
#E29F46
background
#F7F4F5
surface
#EEE8E9
border
#C9C4C5
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #451228

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

Preview Lab → · Contrast checker → · Palette generator →

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