#45123B#45123B

#45123B is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.095 H 336.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#45123B
RGBrgb(69, 18, 59)
HSLhsl(312, 59%, 17%)
HSVhsv(312, 74%, 27%)
CMYKcmyk(0%, 73.9%, 14.5%, 72.9%)
CIE-LABlab(15.56, 29.68, -13.92)
CIE-LCHlch(15.56, 32.78, 334.87°)
OKLaboklab(28.45% 0.087 -0.0378)
OKLCHoklch(28.45% 0.095 336.5)
XYZxyz(3.4600, 2.0139, 4.3433)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45123B #12451C
analogous
#361245 #45123B #451222
triadic
#45123B #3B4512 #123B45
tetradic
#45123B #453612 #12451C #122245
square
#45123B #453612 #12451C #122245
split-complementary
#45123B #224512 #124536
monochromatic
#180615 #180615 #45123B #761F65 #A62B8E

Accessibility & contrast

On white

14.97
#45123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#45123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45123B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45123B#FFFFFF#000000##FFFFFF
##45123B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#232A3A
Tritanopia (blue-blind)
#491524
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45123b;
/* rgb */ color: rgb(69, 18, 59);
/* oklch */ color: oklch(28.5% 0.095 336.5);
Tailwind
colors: {
  custom: {
    50: '#7b5471',
    500: '#45123b',
    950: '#000000',
  },
}
SCSS
$custom: #45123b;
$custom-light: #7b5471;
$custom-dark: #000000;
JSON
{
  "hex": "#45123b",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 311.765,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28451,
    "c": 0.09484,
    "h": 336.5
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#45123B
secondary
#357E43
accent
#E26546
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #45123B

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

Preview Lab → · Contrast checker → · Palette generator →

#45123B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva