#7A1838#7A1838

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

Color values

HEX#7A1838
RGBrgb(122, 24, 56)
HSLhsl(340, 67%, 29%)
HSVhsv(340, 80%, 48%)
CMYKcmyk(0%, 80.3%, 54.1%, 52.2%)
CIE-LABlab(26.95, 43.31, 6.25)
CIE-LCHlch(26.95, 43.76, 8.21°)
OKLaboklab(38.75% 0.1321 0.0162)
OKLCHoklch(38.75% 0.133 7)
XYZxyz(9.0673, 5.0776, 4.2432)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1838 #187A5A
analogous
#7A1869 #7A1838 #7A2918
triadic
#7A1838 #387A18 #18387A
tetradic
#7A1838 #697A18 #187A5A #29187A
square
#7A1838 #697A18 #187A5A #29187A
split-complementary
#7A1838 #187A29 #18697A
monochromatic
#1A050C #470E21 #7A1838 #AD224F #D7356A

Accessibility & contrast

On white

10.42
#7A1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1838
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1838#FFFFFF#000000##FFFFFF
##7A18381.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#860026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1838;
/* rgb */ color: rgb(122, 24, 56);
/* oklch */ color: oklch(38.8% 0.133 7.0);
Tailwind
colors: {
  custom: {
    50: '#a65f6e',
    500: '#7a1838',
    950: '#000000',
  },
}
SCSS
$custom: #7a1838;
$custom-light: #a65f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1838",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 340.408,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.13311,
    "h": 7
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#7A1838
secondary
#3FAF8A
accent
#EAB23E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1838

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

Preview Lab → · Contrast checker → · Palette generator →

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