#7B245C#7B245C

#7B245C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.135 H 345.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7B245C
RGBrgb(123, 36, 92)
HSLhsl(321, 55%, 31%)
HSVhsv(321, 71%, 48%)
CMYKcmyk(0%, 70.7%, 25.2%, 51.8%)
CIE-LABlab(30.03, 43.27, -13.12)
CIE-LCHlch(30.03, 45.22, 343.13°)
OKLaboklab(41.46% 0.1306 -0.0349)
OKLCHoklch(41.46% 0.135 345.1)
XYZxyz(10.7314, 6.2465, 10.7637)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B245C #247B43
analogous
#6E247B #7B245C #7B2430
triadic
#7B245C #5C7B24 #245C7B
tetradic
#7B245C #7B6E24 #247B43 #24307B
square
#7B245C #7B6E24 #247B43 #24307B
split-complementary
#7B245C #307B24 #247B6E
monochromatic
#1C0815 #4C1639 #7B245C #AA327F #CB4E9F

Accessibility & contrast

On white

9.34
#7B245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B245C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B245C#FFFFFF#000000##FFFFFF
##7B245C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#83233C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b245c;
/* rgb */ color: rgb(123, 36, 92);
/* oklch */ color: oklch(41.5% 0.135 345.1);
Tailwind
colors: {
  custom: {
    50: '#a4668a',
    500: '#7b245c',
    950: '#000000',
  },
}
SCSS
$custom: #7b245c;
$custom-light: #a4668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b245c",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 321.379,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.1352,
    "h": 345.1
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#7B245C
secondary
#4DAD70
accent
#DE7F4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B245C

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

Preview Lab → · Contrast checker → · Palette generator →

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