#7C255A#7C255A

#7C255A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.133 H 346.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7C255A
RGBrgb(124, 37, 90)
HSLhsl(323, 54%, 32%)
HSVhsv(323, 70%, 49%)
CMYKcmyk(0%, 70.2%, 27.4%, 51.4%)
CIE-LABlab(30.27, 42.87, -11.43)
CIE-LCHlch(30.27, 44.37, 345.08°)
OKLaboklab(41.65% 0.1299 -0.0302)
OKLCHoklch(41.65% 0.133 346.9)
XYZxyz(10.8197, 6.3475, 10.3263)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255A #257C47
analogous
#73257C #7C255A #7C252F
triadic
#7C255A #5A7C25 #255A7C
tetradic
#7C255A #7C7325 #257C47 #252F7C
square
#7C255A #7C7325 #257C47 #252F7C
split-complementary
#7C255A #2F7C25 #257C73
monochromatic
#1E0916 #4D1738 #7C255A #AB337C #CB509B

Accessibility & contrast

On white

9.25
#7C255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C255A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255A#FFFFFF#000000##FFFFFF
##7C255A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#85233C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c255a;
/* rgb */ color: rgb(124, 37, 90);
/* oklch */ color: oklch(41.6% 0.133 346.9);
Tailwind
colors: {
  custom: {
    50: '#a56788',
    500: '#7c255a',
    950: '#000000',
  },
}
SCSS
$custom: #7c255a;
$custom-light: #a56788;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255a",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 323.448,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41649,
    "c": 0.13336,
    "h": 346.9
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#7C255A
secondary
#4FAE74
accent
#DD844A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C255A

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

Preview Lab → · Contrast checker → · Palette generator →

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