#7A1831#7A1831

#7A1831 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.132 H 11.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7A1831
RGBrgb(122, 24, 49)
HSLhsl(345, 67%, 29%)
HSVhsv(345, 80%, 48%)
CMYKcmyk(0%, 80.3%, 59.8%, 52.2%)
CIE-LABlab(26.77, 42.74, 10.74)
CIE-LCHlch(26.77, 44.07, 14.11°)
OKLaboklab(38.56% 0.1292 0.0268)
OKLCHoklch(38.56% 0.132 11.7)
XYZxyz(8.9079, 5.0139, 3.4039)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1831 #187A61
analogous
#7A1862 #7A1831 #7A3018
triadic
#7A1831 #317A18 #18317A
tetradic
#7A1831 #627A18 #187A61 #30187A
square
#7A1831 #627A18 #187A61 #30187A
split-complementary
#7A1831 #187A30 #18627A
monochromatic
#1A050A #470E1C #7A1831 #AD2246 #D7355E

Accessibility & contrast

On white

10.49
#7A1831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7A1831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1831
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1831#FFFFFF#000000##FFFFFF
##7A18311.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333331
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1831;
/* rgb */ color: rgb(122, 24, 49);
/* oklch */ color: oklch(38.6% 0.132 11.7);
Tailwind
colors: {
  custom: {
    50: '#a65f68',
    500: '#7a1831',
    950: '#000000',
  },
}
SCSS
$custom: #7a1831;
$custom-light: #a65f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1831",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 344.694,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.13197,
    "h": 11.7
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#7A1831
secondary
#3FAF92
accent
#EABE3E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #7A1831

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

Preview Lab → · Contrast checker → · Palette generator →

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