#7A1438#7A1438

#7A1438 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.137 H 6.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7A1438
RGBrgb(122, 20, 56)
HSLhsl(339, 72%, 28%)
HSVhsv(339, 84%, 48%)
CMYKcmyk(0%, 83.6%, 54.1%, 52.2%)
CIE-LABlab(26.52, 44.55, 5.64)
CIE-LCHlch(26.52, 44.90, 7.21°)
OKLaboklab(38.43% 0.1361 0.0147)
OKLCHoklch(38.43% 0.137 6.1)
XYZxyz(8.9908, 4.9247, 4.2177)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1438 #147A56
analogous
#7A146B #7A1438 #7A2314
triadic
#7A1438 #387A14 #14387A
tetradic
#7A1438 #6B7A14 #147A56 #23147A
square
#7A1438 #6B7A14 #147A56 #23147A
split-complementary
#7A1438 #147A23 #146B7A
monochromatic
#1A040C #450B20 #7A1438 #AF1D50 #DC2C6A

Accessibility & contrast

On white

10.58
#7A1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1438
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1438#FFFFFF#000000##FFFFFF
##7A14381.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#860024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1438;
/* rgb */ color: rgb(122, 20, 56);
/* oklch */ color: oklch(38.4% 0.137 6.1);
Tailwind
colors: {
  custom: {
    50: '#a65e6e',
    500: '#7a1438',
    950: '#000000',
  },
}
SCSS
$custom: #7a1438;
$custom-light: #a65e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1438",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 338.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.13689,
    "h": 6.1
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#7A1438
secondary
#3AB086
accent
#EFAF39
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1438

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

Preview Lab → · Contrast checker → · Palette generator →

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