#7A2247#7A2247

#7A2247 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.126 H 358.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7A2247
RGBrgb(122, 34, 71)
HSLhsl(335, 56%, 31%)
HSVhsv(335, 72%, 48%)
CMYKcmyk(0%, 72.1%, 41.8%, 52.2%)
CIE-LABlab(28.74, 41.10, -1.25)
CIE-LCHlch(28.74, 41.12, 358.26°)
OKLaboklab(40.22% 0.126 -0.0028)
OKLCHoklch(40.22% 0.126 358.7)
XYZxyz(9.7361, 5.7377, 6.5548)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2247 #227A55
analogous
#7A2273 #7A2247 #7A2922
triadic
#7A2247 #477A22 #22477A
tetradic
#7A2247 #737A22 #227A55 #29227A
square
#7A2247 #737A22 #227A55 #29227A
split-complementary
#7A2247 #227A29 #22737A
monochromatic
#1A070F #4A152B #7A2247 #AA2F63 #CD4A81

Accessibility & contrast

On white

9.78
#7A2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2247
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2247#FFFFFF#000000##FFFFFF
##7A22471.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#841831
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2247;
/* rgb */ color: rgb(122, 34, 71);
/* oklch */ color: oklch(40.2% 0.126 358.7);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#7a2247',
    950: '#000000',
  },
}
SCSS
$custom: #7a2247;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2247",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 334.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.12598,
    "h": 358.7
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#7A2247
secondary
#4BAD84
accent
#E0A048
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2247

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

Preview Lab → · Contrast checker → · Palette generator →

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