#7C255E#7C255E

#7C255E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.136 H 344.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7C255E
RGBrgb(124, 37, 94)
HSLhsl(321, 54%, 32%)
HSVhsv(321, 70%, 49%)
CMYKcmyk(0%, 70.2%, 24.2%, 51.4%)
CIE-LABlab(30.44, 43.44, -13.77)
CIE-LCHlch(30.44, 45.57, 342.41°)
OKLaboklab(41.83% 0.1309 -0.0367)
OKLCHoklch(41.83% 0.136 344.4)
XYZxyz(10.9945, 6.4175, 11.2472)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255E #257C43
analogous
#6F257C #7C255E #7C2533
triadic
#7C255E #5E7C25 #255E7C
tetradic
#7C255E #7C6F25 #257C43 #25337C
square
#7C255E #7C6F25 #257C43 #25337C
split-complementary
#7C255E #337C25 #257C6F
monochromatic
#1E0917 #4D173A #7C255E #AB3382 #CB50A1

Accessibility & contrast

On white

9.20
#7C255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C255E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255E#FFFFFF#000000##FFFFFF
##7C255E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#84243E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c255e;
/* rgb */ color: rgb(124, 37, 94);
/* oklch */ color: oklch(41.8% 0.136 344.4);
Tailwind
colors: {
  custom: {
    50: '#a5678b',
    500: '#7c255e',
    950: '#000000',
  },
}
SCSS
$custom: #7c255e;
$custom-light: #a5678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255e",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 320.69,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.13591,
    "h": 344.4
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#7C255E
secondary
#4FAE70
accent
#DD7D4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C255E

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

Preview Lab → · Contrast checker → · Palette generator →

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