#7A2255#7A2255

#7A2255 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.133 H 348.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7A2255
RGBrgb(122, 34, 85)
HSLhsl(325, 56%, 31%)
HSVhsv(325, 72%, 48%)
CMYKcmyk(0%, 72.1%, 30.3%, 52.2%)
CIE-LABlab(29.26, 42.83, -9.73)
CIE-LCHlch(29.26, 43.92, 347.20°)
OKLaboklab(40.77% 0.1304 -0.0255)
OKLCHoklch(40.77% 0.133 348.9)
XYZxyz(10.2383, 5.9386, 9.1997)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2255 #227A47
analogous
#73227A #7A2255 #7A2229
triadic
#7A2255 #557A22 #22557A
tetradic
#7A2255 #7A7322 #227A47 #22297A
square
#7A2255 #7A7322 #227A47 #22297A
split-complementary
#7A2255 #297A22 #227A73
monochromatic
#1A0712 #4A1534 #7A2255 #AA2F76 #CD4A96

Accessibility & contrast

On white

9.60
#7A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2255
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2255#FFFFFF#000000##FFFFFF
##7A22551.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#831E38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2255;
/* rgb */ color: rgb(122, 34, 85);
/* oklch */ color: oklch(40.8% 0.133 348.9);
Tailwind
colors: {
  custom: {
    50: '#a46585',
    500: '#7a2255',
    950: '#000000',
  },
}
SCSS
$custom: #7a2255;
$custom-light: #a46585;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2255",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 325.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.13283,
    "h": 348.9
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#7A2255
secondary
#4BAD74
accent
#E08848
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A2255

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

Preview Lab → · Contrast checker → · Palette generator →

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