#7A2263#7A2263

#7A2263 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.142 H 340.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7A2263
RGBrgb(122, 34, 99)
HSLhsl(316, 56%, 31%)
HSVhsv(316, 72%, 48%)
CMYKcmyk(0%, 72.1%, 18.9%, 52.2%)
CIE-LABlab(29.87, 44.83, -17.92)
CIE-LCHlch(29.87, 48.28, 338.22°)
OKLaboklab(41.42% 0.1335 -0.0483)
OKLCHoklch(41.42% 0.142 340.1)
XYZxyz(10.8505, 6.1835, 12.4241)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2263 #227A39
analogous
#65227A #7A2263 #7A2237
triadic
#7A2263 #637A22 #22637A
tetradic
#7A2263 #7A6522 #227A39 #22377A
square
#7A2263 #7A6522 #227A39 #22377A
split-complementary
#7A2263 #377A22 #227A65
monochromatic
#1A0715 #4A153C #7A2263 #AA2F8A #CD4AAA

Accessibility & contrast

On white

9.39
#7A2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2263
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2263#FFFFFF#000000##FFFFFF
##7A22631.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#81243F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2263;
/* rgb */ color: rgb(122, 34, 99);
/* oklch */ color: oklch(41.4% 0.142 340.1);
Tailwind
colors: {
  custom: {
    50: '#a4658f',
    500: '#7a2263',
    950: '#000000',
  },
}
SCSS
$custom: #7a2263;
$custom-light: #a4658f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2263",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 315.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.14196,
    "h": 340.1
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#7A2263
secondary
#4BAD65
accent
#E07048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A2263

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

Preview Lab → · Contrast checker → · Palette generator →

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