#7A2138#7A2138

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

Color values

HEX#7A2138
RGBrgb(122, 33, 56)
HSLhsl(344, 57%, 30%)
HSVhsv(344, 73%, 48%)
CMYKcmyk(0%, 73%, 54.1%, 52.2%)
CIE-LABlab(28.15, 39.99, 7.92)
CIE-LCHlch(28.15, 40.76, 11.21°)
OKLaboklab(39.63% 0.1214 0.0203)
OKLCHoklch(39.63% 0.123 9.5)
XYZxyz(9.2845, 5.5121, 4.3156)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2138 #217A63
analogous
#7A2164 #7A2138 #7A3621
triadic
#7A2138 #387A21 #21387A
tetradic
#7A2138 #647A21 #217A63 #36217A
square
#7A2138 #647A21 #217A63 #36217A
split-complementary
#7A2138 #217A36 #21647A
monochromatic
#1A070C #4A1422 #7A2138 #AA2E4E #CD486A

Accessibility & contrast

On white

9.99
#7A2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2138
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2138#FFFFFF#000000##FFFFFF
##7A21381.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373738
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#850F2A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2138;
/* rgb */ color: rgb(122, 33, 56);
/* oklch */ color: oklch(39.6% 0.123 9.5);
Tailwind
colors: {
  custom: {
    50: '#a5636e',
    500: '#7a2138',
    950: '#000000',
  },
}
SCSS
$custom: #7a2138;
$custom-light: #a5636e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2138",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 344.494,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.12311,
    "h": 9.5
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#7A2138
secondary
#4AAD93
accent
#E1B947
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A2138

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

Preview Lab → · Contrast checker → · Palette generator →

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