#7A2139#7A2139

#7A2139 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.123 H 8.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7A2139
RGBrgb(122, 33, 57)
HSLhsl(344, 57%, 30%)
HSVhsv(344, 73%, 48%)
CMYKcmyk(0%, 73%, 53.3%, 52.2%)
CIE-LABlab(28.17, 40.08, 7.29)
CIE-LCHlch(28.17, 40.74, 10.31°)
OKLaboklab(39.66% 0.1218 0.0187)
OKLCHoklch(39.66% 0.123 8.7)
XYZxyz(9.3092, 5.5219, 4.4457)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2139 #217A62
analogous
#7A2165 #7A2139 #7A3521
triadic
#7A2139 #397A21 #21397A
tetradic
#7A2139 #657A21 #217A62 #35217A
square
#7A2139 #657A21 #217A62 #35217A
split-complementary
#7A2139 #217A35 #21657A
monochromatic
#1A070C #4A1422 #7A2139 #AA2E50 #CD486C

Accessibility & contrast

On white

9.98
#7A2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2139
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2139#FFFFFF#000000##FFFFFF
##7A21391.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363739
Deuteranopia (green-blind)
#4E4937
Tritanopia (blue-blind)
#850F2B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2139;
/* rgb */ color: rgb(122, 33, 57);
/* oklch */ color: oklch(39.7% 0.123 8.7);
Tailwind
colors: {
  custom: {
    50: '#a5636f',
    500: '#7a2139',
    950: '#000000',
  },
}
SCSS
$custom: #7a2139;
$custom-light: #a5636f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2139",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 343.82,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.12327,
    "h": 8.7
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#7A2139
secondary
#4AAD92
accent
#E1B747
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A2139

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

Preview Lab → · Contrast checker → · Palette generator →

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