#7A1837#7A1837

#7A1837 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.133 H 7.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7A1837
RGBrgb(122, 24, 55)
HSLhsl(341, 67%, 29%)
HSVhsv(341, 80%, 48%)
CMYKcmyk(0%, 80.3%, 54.9%, 52.2%)
CIE-LABlab(26.93, 43.23, 6.89)
CIE-LCHlch(26.93, 43.77, 9.06°)
OKLaboklab(38.72% 0.1317 0.0177)
OKLCHoklch(38.72% 0.133 7.7)
XYZxyz(9.0431, 5.0680, 4.1157)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1837 #187A5B
analogous
#7A1868 #7A1837 #7A2A18
triadic
#7A1837 #377A18 #18377A
tetradic
#7A1837 #687A18 #187A5B #2A187A
square
#7A1837 #687A18 #187A5B #2A187A
split-complementary
#7A1837 #187A2A #18687A
monochromatic
#1A050C #470E20 #7A1837 #AD224E #D73568

Accessibility & contrast

On white

10.43
#7A1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1837
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1837#FFFFFF#000000##FFFFFF
##7A18371.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323338
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#860025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1837;
/* rgb */ color: rgb(122, 24, 55);
/* oklch */ color: oklch(38.7% 0.133 7.7);
Tailwind
colors: {
  custom: {
    50: '#a65f6d',
    500: '#7a1837',
    950: '#000000',
  },
}
SCSS
$custom: #7a1837;
$custom-light: #a65f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1837",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 341.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.1329,
    "h": 7.7
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#7A1837
secondary
#3FAF8B
accent
#EAB43E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1837

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

Preview Lab → · Contrast checker → · Palette generator →

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