#7A1845#7A1845

#7A1845 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.137 H 358.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7A1845
RGBrgb(122, 24, 69)
HSLhsl(332, 67%, 29%)
HSVhsv(332, 80%, 48%)
CMYKcmyk(0%, 80.3%, 43.4%, 52.2%)
CIE-LABlab(27.36, 44.57, -1.94)
CIE-LCHlch(27.36, 44.61, 357.50°)
OKLaboklab(39.18% 0.137 -0.0045)
OKLCHoklch(39.18% 0.137 358.1)
XYZxyz(9.4276, 5.2217, 6.1405)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1845 #187A4D
analogous
#7A1876 #7A1845 #7A1C18
triadic
#7A1845 #457A18 #18457A
tetradic
#7A1845 #767A18 #187A4D #1C187A
square
#7A1845 #767A18 #187A4D #1C187A
split-complementary
#7A1845 #187A1C #18767A
monochromatic
#1A050E #470E28 #7A1845 #AD2262 #D73580

Accessibility & contrast

On white

10.27
#7A1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1845
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1845#FFFFFF#000000##FFFFFF
##7A18451.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1845;
/* rgb */ color: rgb(122, 24, 69);
/* oklch */ color: oklch(39.2% 0.137 358.1);
Tailwind
colors: {
  custom: {
    50: '#a56078',
    500: '#7a1845',
    950: '#000000',
  },
}
SCSS
$custom: #7a1845;
$custom-light: #a56078;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1845",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 332.449,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.13707,
    "h": 358.1
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#7A1845
secondary
#3FAF7B
accent
#EA9B3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1845

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

Preview Lab → · Contrast checker → · Palette generator →

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