#7A236A#7A236A

#7A236A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 336.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7A236A
RGBrgb(122, 35, 106)
HSLhsl(311, 55%, 31%)
HSVhsv(311, 71%, 48%)
CMYKcmyk(0%, 71.3%, 13.1%, 52.2%)
CIE-LABlab(30.35, 45.54, -21.68)
CIE-LCHlch(30.35, 50.43, 334.54°)
OKLaboklab(41.88% 0.1334 -0.059)
OKLCHoklch(41.88% 0.146 336.1)
XYZxyz(11.2287, 6.3812, 14.2732)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A236A #237A33
analogous
#5E237A #7A236A #7A233F
triadic
#7A236A #6A7A23 #236A7A
tetradic
#7A236A #7A5E23 #237A33 #233F7A
square
#7A236A #7A5E23 #237A33 #233F7A
split-complementary
#7A236A #3F7A23 #237A5E
monochromatic
#1B0817 #4A1541 #7A236A #AA3193 #CC4CB4

Accessibility & contrast

On white

9.23
#7A236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A236A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A236A#FFFFFF#000000##FFFFFF
##7A236A1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#802843
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a236a;
/* rgb */ color: rgb(122, 35, 106);
/* oklch */ color: oklch(41.9% 0.146 336.1);
Tailwind
colors: {
  custom: {
    50: '#a36695',
    500: '#7a236a',
    950: '#000000',
  },
}
SCSS
$custom: #7a236a;
$custom-light: #a36695;
$custom-dark: #000000;
JSON
{
  "hex": "#7a236a",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 311.034,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.14584,
    "h": 336.1
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#7A236A
secondary
#4CAD5E
accent
#DF6549
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A236A

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

Preview Lab → · Contrast checker → · Palette generator →

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