#7A225F#7A225F

#7A225F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.139 H 342.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7A225F
RGBrgb(122, 34, 95)
HSLhsl(318, 56%, 31%)
HSVhsv(318, 72%, 48%)
CMYKcmyk(0%, 72.1%, 22.1%, 52.2%)
CIE-LABlab(29.69, 44.23, -15.61)
CIE-LCHlch(29.69, 46.91, 340.56°)
OKLaboklab(41.22% 0.1327 -0.0418)
OKLCHoklch(41.22% 0.139 342.5)
XYZxyz(10.6640, 6.1089, 11.4418)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A225F #227A3D
analogous
#69227A #7A225F #7A2233
triadic
#7A225F #5F7A22 #225F7A
tetradic
#7A225F #7A6922 #227A3D #22337A
square
#7A225F #7A6922 #227A3D #22337A
split-complementary
#7A225F #337A22 #227A69
monochromatic
#1A0714 #4A153A #7A225F #AA2F84 #CD4AA4

Accessibility & contrast

On white

9.45
#7A225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A225F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A225F#FFFFFF#000000##FFFFFF
##7A225F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#82233D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a225f;
/* rgb */ color: rgb(122, 34, 95);
/* oklch */ color: oklch(41.2% 0.139 342.5);
Tailwind
colors: {
  custom: {
    50: '#a4658c',
    500: '#7a225f',
    950: '#000000',
  },
}
SCSS
$custom: #7a225f;
$custom-light: #a4658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a225f",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 318.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.13916,
    "h": 342.5
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#7A225F
secondary
#4BAD69
accent
#E07748
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A225F

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

Preview Lab → · Contrast checker → · Palette generator →

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