#7B1845#7B1845

#7B1845 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 358.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7B1845
RGBrgb(123, 24, 69)
HSLhsl(333, 67%, 29%)
HSVhsv(333, 80%, 48%)
CMYKcmyk(0%, 80.5%, 43.9%, 51.8%)
CIE-LABlab(27.56, 44.85, -1.62)
CIE-LCHlch(27.56, 44.88, 357.93°)
OKLaboklab(39.36% 0.1379 -0.0037)
OKLCHoklch(39.36% 0.138 358.5)
XYZxyz(9.5699, 5.2951, 6.1472)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1845 #187B4E
analogous
#7B1877 #7B1845 #7B1C18
triadic
#7B1845 #457B18 #18457B
tetradic
#7B1845 #777B18 #187B4E #1C187B
square
#7B1845 #777B18 #187B4E #1C187B
split-complementary
#7B1845 #187B1C #18777B
monochromatic
#1A050E #480E28 #7B1845 #AE2262 #D8367F

Accessibility & contrast

On white

10.20
#7B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1845
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1845#FFFFFF#000000##FFFFFF
##7B18451.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3546
Deuteranopia (green-blind)
#494843
Tritanopia (blue-blind)
#86062C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1845;
/* rgb */ color: rgb(123, 24, 69);
/* oklch */ color: oklch(39.4% 0.138 358.5);
Tailwind
colors: {
  custom: {
    50: '#a66078',
    500: '#7b1845',
    950: '#000000',
  },
}
SCSS
$custom: #7b1845;
$custom-light: #a66078;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1845",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 332.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.13793,
    "h": 358.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#7B1845
secondary
#3FB07D
accent
#EA9C3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1845

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

Preview Lab → · Contrast checker → · Palette generator →

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