#7B245A#7B245A

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

Color values

HEX#7B245A
RGBrgb(123, 36, 90)
HSLhsl(323, 55%, 31%)
HSVhsv(323, 71%, 48%)
CMYKcmyk(0%, 70.7%, 26.8%, 51.8%)
CIE-LABlab(29.94, 42.99, -11.95)
CIE-LCHlch(29.94, 44.62, 344.47°)
OKLaboklab(41.37% 0.1301 -0.0316)
OKLCHoklch(41.37% 0.134 346.3)
XYZxyz(10.6452, 6.2120, 10.3093)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B245A #247B45
analogous
#70247B #7B245A #7B242E
triadic
#7B245A #5A7B24 #245A7B
tetradic
#7B245A #7B7024 #247B45 #242E7B
square
#7B245A #7B7024 #247B45 #242E7B
split-complementary
#7B245A #2E7B24 #247B70
monochromatic
#1C0815 #4C1637 #7B245A #AA327D #CB4E9C

Accessibility & contrast

On white

9.37
#7B245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B245A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B245A#FFFFFF#000000##FFFFFF
##7B245A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#84223B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b245a;
/* rgb */ color: rgb(123, 36, 90);
/* oklch */ color: oklch(41.4% 0.134 346.3);
Tailwind
colors: {
  custom: {
    50: '#a46688',
    500: '#7b245a',
    950: '#000000',
  },
}
SCSS
$custom: #7b245a;
$custom-light: #a46688;
$custom-dark: #000000;
JSON
{
  "hex": "#7b245a",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 322.759,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.13393,
    "h": 346.3
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#7B245A
secondary
#4DAD72
accent
#DE824A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B245A

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

Preview Lab → · Contrast checker → · Palette generator →

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