#7A2268#7A2268

#7A2268 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 337.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7A2268
RGBrgb(122, 34, 104)
HSLhsl(312, 56%, 31%)
HSVhsv(312, 72%, 48%)
CMYKcmyk(0%, 72.1%, 14.8%, 52.2%)
CIE-LABlab(30.11, 45.61, -20.77)
CIE-LCHlch(30.11, 50.12, 335.52°)
OKLaboklab(41.67% 0.1343 -0.0564)
OKLCHoklch(41.67% 0.146 337.2)
XYZxyz(11.0970, 6.2821, 13.7221)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2268 #227A34
analogous
#60227A #7A2268 #7A223C
triadic
#7A2268 #687A22 #22687A
tetradic
#7A2268 #7A6022 #227A34 #223C7A
square
#7A2268 #7A6022 #227A34 #223C7A
split-complementary
#7A2268 #3C7A22 #227A60
monochromatic
#1A0716 #4A153F #7A2268 #AA2F91 #CD4AB2

Accessibility & contrast

On white

9.31
#7A2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2268
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2268#FFFFFF#000000##FFFFFF
##7A22681.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#812742
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2268;
/* rgb */ color: rgb(122, 34, 104);
/* oklch */ color: oklch(41.7% 0.146 337.2);
Tailwind
colors: {
  custom: {
    50: '#a36593',
    500: '#7a2268',
    950: '#000000',
  },
}
SCSS
$custom: #7a2268;
$custom-light: #a36593;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2268",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 312.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.14564,
    "h": 337.2
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7A2268
secondary
#4BAD5F
accent
#E06748
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A2268

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

Preview Lab → · Contrast checker → · Palette generator →

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