#7A2248#7A2248

#7A2248 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 358.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7A2248
RGBrgb(122, 34, 72)
HSLhsl(334, 56%, 31%)
HSVhsv(334, 72%, 48%)
CMYKcmyk(0%, 72.1%, 41%, 52.2%)
CIE-LABlab(28.77, 41.21, -1.86)
CIE-LCHlch(28.77, 41.25, 357.42°)
OKLaboklab(40.26% 0.1263 -0.0044)
OKLCHoklch(40.26% 0.126 358)
XYZxyz(9.7684, 5.7507, 6.7252)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2248 #227A54
analogous
#7A2274 #7A2248 #7A2822
triadic
#7A2248 #487A22 #22487A
tetradic
#7A2248 #747A22 #227A54 #28227A
square
#7A2248 #747A22 #227A54 #28227A
split-complementary
#7A2248 #227A28 #22747A
monochromatic
#1A0710 #4A152C #7A2248 #AA2F64 #CD4A82

Accessibility & contrast

On white

9.77
#7A2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2248
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2248#FFFFFF#000000##FFFFFF
##7A22481.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#841832
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2248;
/* rgb */ color: rgb(122, 34, 72);
/* oklch */ color: oklch(40.3% 0.126 358.0);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#7a2248',
    950: '#000000',
  },
}
SCSS
$custom: #7a2248;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2248",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 334.091,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.12638,
    "h": 358
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7A2248
secondary
#4BAD83
accent
#E09E48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2248

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

Preview Lab → · Contrast checker → · Palette generator →

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