#45123A#45123A

#45123A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.094 H 337.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#45123A
RGBrgb(69, 18, 58)
HSLhsl(313, 59%, 17%)
HSVhsv(313, 74%, 27%)
CMYKcmyk(0%, 73.9%, 15.9%, 72.9%)
CIE-LABlab(15.51, 29.50, -13.30)
CIE-LCHlch(15.51, 32.36, 335.73°)
OKLaboklab(28.39% 0.0868 -0.036)
OKLCHoklch(28.39% 0.094 337.4)
XYZxyz(3.4343, 2.0036, 4.2080)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45123A #12451D
analogous
#371245 #45123A #451221
triadic
#45123A #3A4512 #123A45
tetradic
#45123A #453712 #12451D #122145
square
#45123A #453712 #12451D #122145
split-complementary
#45123A #214512 #124537
monochromatic
#180614 #180614 #45123A #761F63 #A62B8C

Accessibility & contrast

On white

14.99
#45123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45123A
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45123A#FFFFFF#000000##FFFFFF
##45123A1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#491424
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45123a;
/* rgb */ color: rgb(69, 18, 58);
/* oklch */ color: oklch(28.4% 0.094 337.4);
Tailwind
colors: {
  custom: {
    50: '#7b5470',
    500: '#45123a',
    950: '#000000',
  },
}
SCSS
$custom: #45123a;
$custom-light: #7b5470;
$custom-dark: #000000;
JSON
{
  "hex": "#45123a",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 312.941,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.09399,
    "h": 337.4
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#45123A
secondary
#357E45
accent
#E26846
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #45123A

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

Preview Lab → · Contrast checker → · Palette generator →

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