#7B1452#7B1452

#7B1452 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.148 H 349.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7B1452
RGBrgb(123, 20, 82)
HSLhsl(324, 72%, 28%)
HSVhsv(324, 84%, 48%)
CMYKcmyk(0%, 83.7%, 33.3%, 51.8%)
CIE-LABlab(27.63, 47.52, -10.20)
CIE-LCHlch(27.63, 48.60, 347.89°)
OKLaboklab(39.58% 0.1456 -0.0267)
OKLCHoklch(39.58% 0.148 349.6)
XYZxyz(9.9421, 5.3217, 8.4846)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1452 #147B3D
analogous
#70147B #7B1452 #7B141F
triadic
#7B1452 #527B14 #14527B
tetradic
#7B1452 #7B7014 #147B3D #141F7B
square
#7B1452 #7B7014 #147B3D #141F7B
split-complementary
#7B1452 #1F7B14 #147B70
monochromatic
#1A0412 #460B2F #7B1452 #B01D75 #DD2D97

Accessibility & contrast

On white

10.17
#7B1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1452
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1452#FFFFFF#000000##FFFFFF
##7B14521.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273654
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#850B32
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1452;
/* rgb */ color: rgb(123, 20, 82);
/* oklch */ color: oklch(39.6% 0.148 349.6);
Tailwind
colors: {
  custom: {
    50: '#a55f82',
    500: '#7b1452',
    950: '#000000',
  },
}
SCSS
$custom: #7b1452;
$custom-light: #a55f82;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1452",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 323.883,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.14797,
    "h": 349.6
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#7B1452
secondary
#3AB169
accent
#EF8139
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7B1452

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

Preview Lab → · Contrast checker → · Palette generator →

#7B1452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva