#7B1854#7B1854

#7B1854 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 348.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7B1854
RGBrgb(123, 24, 84)
HSLhsl(324, 67%, 29%)
HSVhsv(324, 80%, 48%)
CMYKcmyk(0%, 80.5%, 31.7%, 51.8%)
CIE-LABlab(28.13, 46.58, -10.77)
CIE-LCHlch(28.13, 47.81, 346.98°)
OKLaboklab(39.97% 0.1423 -0.0283)
OKLCHoklch(39.97% 0.145 348.8)
XYZxyz(10.0958, 5.5055, 8.9168)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1854 #187B3F
analogous
#71187B #7B1854 #7B1823
triadic
#7B1854 #547B18 #18547B
tetradic
#7B1854 #7B7118 #187B3F #18237B
square
#7B1854 #7B7118 #187B3F #18237B
split-complementary
#7B1854 #237B18 #187B71
monochromatic
#1A0511 #480E31 #7B1854 #AE2277 #D83698

Accessibility & contrast

On white

10.00
#7B1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1854
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1854#FFFFFF#000000##FFFFFF
##7B18541.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283756
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#841234
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1854;
/* rgb */ color: rgb(123, 24, 84);
/* oklch */ color: oklch(40.0% 0.145 348.8);
Tailwind
colors: {
  custom: {
    50: '#a56184',
    500: '#7b1854',
    950: '#000000',
  },
}
SCSS
$custom: #7b1854;
$custom-light: #a56184;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1854",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 323.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.14511,
    "h": 348.8
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#7B1854
secondary
#3FB06B
accent
#EA823E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1854

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

Preview Lab → · Contrast checker → · Palette generator →

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