#7C255B#7C255B

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

Color values

HEX#7C255B
RGBrgb(124, 37, 91)
HSLhsl(323, 54%, 32%)
HSVhsv(323, 70%, 49%)
CMYKcmyk(0%, 70.2%, 26.6%, 51.4%)
CIE-LABlab(30.31, 43.01, -12.01)
CIE-LCHlch(30.31, 44.66, 344.39°)
OKLaboklab(41.69% 0.1301 -0.0318)
OKLCHoklch(41.69% 0.134 346.3)
XYZxyz(10.8625, 6.3647, 10.5519)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255B #257C46
analogous
#72257C #7C255B #7C2530
triadic
#7C255B #5B7C25 #255B7C
tetradic
#7C255B #7C7225 #257C46 #25307C
square
#7C255B #7C7225 #257C46 #25307C
split-complementary
#7C255B #307C25 #257C72
monochromatic
#1E0916 #4D1738 #7C255B #AB337E #CB509C

Accessibility & contrast

On white

9.24
#7C255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C255B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255B#FFFFFF#000000##FFFFFF
##7C255B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#85233C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c255b;
/* rgb */ color: rgb(124, 37, 91);
/* oklch */ color: oklch(41.7% 0.134 346.3);
Tailwind
colors: {
  custom: {
    50: '#a56789',
    500: '#7c255b',
    950: '#000000',
  },
}
SCSS
$custom: #7c255b;
$custom-light: #a56789;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255b",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 322.759,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.13397,
    "h": 346.3
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#7C255B
secondary
#4FAE73
accent
#DD824A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C255B

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

Preview Lab → · Contrast checker → · Palette generator →

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