#45122C#45122C

#45122C is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.084 H 352.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#45122C
RGBrgb(69, 18, 44)
HSLhsl(329, 59%, 17%)
HSVhsv(329, 74%, 27%)
CMYKcmyk(0%, 73.9%, 36.2%, 72.9%)
CIE-LABlab(14.84, 27.23, -4.27)
CIE-LCHlch(14.84, 27.57, 351.09°)
OKLaboklab(27.69% 0.0831 -0.011)
OKLCHoklch(27.69% 0.084 352.5)
XYZxyz(3.1253, 1.8800, 2.5807)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45122C #12452B
analogous
#451245 #45122C #451212
triadic
#45122C #2C4512 #122C45
tetradic
#45122C #454512 #12452B #121245
square
#45122C #454512 #12452B #121245
split-complementary
#45122C #124512 #124545
monochromatic
#18060F #18060F #45122C #761F4B #A62B6A

Accessibility & contrast

On white

15.26
#45122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#45122C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45122C
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45122C#FFFFFF#000000##FFFFFF
##45122C1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2D
Deuteranopia (green-blind)
#28292B
Tritanopia (blue-blind)
#4B0F1D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #45122c;
/* rgb */ color: rgb(69, 18, 44);
/* oklch */ color: oklch(27.7% 0.084 352.5);
Tailwind
colors: {
  custom: {
    50: '#7b5465',
    500: '#45122c',
    950: '#000000',
  },
}
SCSS
$custom: #45122c;
$custom-light: #7b5465;
$custom-dark: #000000;
JSON
{
  "hex": "#45122c",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 329.412,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27692,
    "c": 0.08381,
    "h": 352.5
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#45122C
secondary
#357E59
accent
#E29246
background
#F7F5F6
surface
#EEE8EB
border
#C9C4C6
text
#0A0305
muted
#7C787A

Preview Lab

Preview with #45122C

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

Preview Lab → · Contrast checker → · Palette generator →

#45122C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva