#7A225E#7A225E

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

Color values

HEX#7A225E
RGBrgb(122, 34, 94)
HSLhsl(319, 56%, 31%)
HSVhsv(319, 72%, 48%)
CMYKcmyk(0%, 72.1%, 23%, 52.2%)
CIE-LABlab(29.64, 44.09, -15.03)
CIE-LCHlch(29.64, 46.58, 341.18°)
OKLaboklab(41.17% 0.1325 -0.0402)
OKLCHoklch(41.17% 0.138 343.1)
XYZxyz(10.6188, 6.0908, 11.2039)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A225E #227A3E
analogous
#6A227A #7A225E #7A2232
triadic
#7A225E #5E7A22 #225E7A
tetradic
#7A225E #7A6A22 #227A3E #22327A
square
#7A225E #7A6A22 #227A3E #22327A
split-complementary
#7A225E #327A22 #227A6A
monochromatic
#1A0714 #4A1539 #7A225E #AA2F83 #CD4AA3

Accessibility & contrast

On white

9.47
#7A225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A225E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A225E#FFFFFF#000000##FFFFFF
##7A225E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#82223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a225e;
/* rgb */ color: rgb(122, 34, 94);
/* oklch */ color: oklch(41.2% 0.138 343.1);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7a225e',
    950: '#000000',
  },
}
SCSS
$custom: #7a225e;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a225e",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 319.091,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.13849,
    "h": 343.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#7A225E
secondary
#4BAD6A
accent
#E07848
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A225E

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

Preview Lab → · Contrast checker → · Palette generator →

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