#7A1854#7A1854

#7A1854 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.144 H 348.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7A1854
RGBrgb(122, 24, 84)
HSLhsl(323, 67%, 29%)
HSVhsv(323, 80%, 48%)
CMYKcmyk(0%, 80.3%, 31.1%, 52.2%)
CIE-LABlab(27.93, 46.31, -11.09)
CIE-LCHlch(27.93, 47.62, 346.54°)
OKLaboklab(39.79% 0.1414 -0.0291)
OKLCHoklch(39.79% 0.144 348.4)
XYZxyz(9.9534, 5.4321, 8.9101)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1854 #187A3E
analogous
#6F187A #7A1854 #7A1823
triadic
#7A1854 #547A18 #18547A
tetradic
#7A1854 #7A6F18 #187A3E #18237A
square
#7A1854 #7A6F18 #187A3E #18237A
split-complementary
#7A1854 #237A18 #187A6F
monochromatic
#1A0512 #470E31 #7A1854 #AD2277 #D73598

Accessibility & contrast

On white

10.07
#7A1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1854
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1854#FFFFFF#000000##FFFFFF
##7A18541.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1854;
/* rgb */ color: rgb(122, 24, 84);
/* oklch */ color: oklch(39.8% 0.144 348.4);
Tailwind
colors: {
  custom: {
    50: '#a46084',
    500: '#7a1854',
    950: '#000000',
  },
}
SCSS
$custom: #7a1854;
$custom-light: #a46084;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1854",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 323.265,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.14436,
    "h": 348.4
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#7A1854
secondary
#3FAF6A
accent
#EA813E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1854

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

Preview Lab → · Contrast checker → · Palette generator →

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