#45122F#45122F

#45122F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.8% C 0.086 H 349.0°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#45122F
RGBrgb(69, 18, 47)
HSLhsl(326, 59%, 17%)
HSVhsv(326, 74%, 27%)
CMYKcmyk(0%, 73.9%, 31.9%, 72.9%)
CIE-LABlab(14.97, 27.68, -6.25)
CIE-LCHlch(14.97, 28.38, 347.28°)
OKLaboklab(27.83% 0.0841 -0.0164)
OKLCHoklch(27.83% 0.086 349)
XYZxyz(3.1838, 1.9034, 2.8885)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45122F #124528
analogous
#421245 #45122F #451216
triadic
#45122F #2F4512 #122F45
tetradic
#45122F #454212 #124528 #121645
square
#45122F #454212 #124528 #121645
split-complementary
#45122F #164512 #124542
monochromatic
#180611 #180611 #45122F #761F50 #A62B71

Accessibility & contrast

On white

15.21
#45122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45122F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45122F#FFFFFF#000000##FFFFFF
##45122F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#4A101E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45122f;
/* rgb */ color: rgb(69, 18, 47);
/* oklch */ color: oklch(27.8% 0.086 349.0);
Tailwind
colors: {
  custom: {
    50: '#7b5467',
    500: '#45122f',
    950: '#000000',
  },
}
SCSS
$custom: #45122f;
$custom-light: #7b5467;
$custom-dark: #000000;
JSON
{
  "hex": "#45122f",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 325.882,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.08566,
    "h": 349
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#45122F
secondary
#357E54
accent
#E28946
background
#F7F5F6
surface
#EEE8EB
border
#C9C4C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #45122F

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

Preview Lab → · Contrast checker → · Palette generator →

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