#7A246B#7A246B

#7A246B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 335.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7A246B
RGBrgb(122, 36, 107)
HSLhsl(310, 54%, 31%)
HSVhsv(310, 70%, 48%)
CMYKcmyk(0%, 70.5%, 12.3%, 52.2%)
CIE-LABlab(30.55, 45.29, -22.01)
CIE-LCHlch(30.55, 50.36, 334.08°)
OKLaboklab(42.04% 0.1323 -0.06)
OKLCHoklch(42.04% 0.145 335.6)
XYZxyz(11.3109, 6.4618, 14.5586)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A246B #247A33
analogous
#5E247A #7A246B #7A2440
triadic
#7A246B #6B7A24 #246B7A
tetradic
#7A246B #7A5E24 #247A33 #24407A
square
#7A246B #7A5E24 #247A33 #24407A
split-complementary
#7A246B #407A24 #247A5E
monochromatic
#1B0818 #4B1642 #7A246B #A93294 #CB4EB5

Accessibility & contrast

On white

9.16
#7A246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7A246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A246B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A246B#FFFFFF#000000##FFFFFF
##7A246B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#414D69
Tritanopia (blue-blind)
#802A44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a246b;
/* rgb */ color: rgb(122, 36, 107);
/* oklch */ color: oklch(42.0% 0.145 335.6);
Tailwind
colors: {
  custom: {
    50: '#a36695',
    500: '#7a246b',
    950: '#000000',
  },
}
SCSS
$custom: #7a246b;
$custom-light: #a36695;
$custom-dark: #000000;
JSON
{
  "hex": "#7a246b",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 310.465,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.14526,
    "h": 335.6
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#7A246B
secondary
#4DAC5E
accent
#DE644A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A246B

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

Preview Lab → · Contrast checker → · Palette generator →

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