#7A2148#7A2148

#7A2148 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 357.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7A2148
RGBrgb(122, 33, 72)
HSLhsl(334, 57%, 30%)
HSVhsv(334, 73%, 48%)
CMYKcmyk(0%, 73%, 41%, 52.2%)
CIE-LABlab(28.63, 41.62, -2.08)
CIE-LCHlch(28.63, 41.67, 357.14°)
OKLaboklab(40.15% 0.1276 -0.0049)
OKLCHoklch(40.15% 0.128 357.8)
XYZxyz(9.7403, 5.6944, 6.7158)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2148 #217A53
analogous
#7A2174 #7A2148 #7A2721
triadic
#7A2148 #487A21 #21487A
tetradic
#7A2148 #747A21 #217A53 #27217A
square
#7A2148 #747A21 #217A53 #27217A
split-complementary
#7A2148 #217A27 #21747A
monochromatic
#1A070F #4A142C #7A2148 #AA2E64 #CD4882

Accessibility & contrast

On white

9.82
#7A2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2148
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2148#FFFFFF#000000##FFFFFF
##7A21481.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#841731
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2148;
/* rgb */ color: rgb(122, 33, 72);
/* oklch */ color: oklch(40.1% 0.128 357.8);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#7a2148',
    950: '#000000',
  },
}
SCSS
$custom: #7a2148;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2148",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 333.708,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.12769,
    "h": 357.8
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#7A2148
secondary
#4AAD82
accent
#E19D47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2148

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

Preview Lab → · Contrast checker → · Palette generator →

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