#7C255C#7C255C

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

Color values

HEX#7C255C
RGBrgb(124, 37, 92)
HSLhsl(322, 54%, 32%)
HSVhsv(322, 70%, 49%)
CMYKcmyk(0%, 70.2%, 25.8%, 51.4%)
CIE-LABlab(30.36, 43.15, -12.60)
CIE-LCHlch(30.36, 44.95, 343.72°)
OKLaboklab(41.74% 0.1304 -0.0334)
OKLCHoklch(41.74% 0.135 345.6)
XYZxyz(10.9059, 6.3820, 10.7806)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255C #257C45
analogous
#71257C #7C255C #7C2531
triadic
#7C255C #5C7C25 #255C7C
tetradic
#7C255C #7C7125 #257C45 #25317C
square
#7C255C #7C7125 #257C45 #25317C
split-complementary
#7C255C #317C25 #257C71
monochromatic
#1E0916 #4D1739 #7C255C #AB337F #CB509E

Accessibility & contrast

On white

9.23
#7C255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C255C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255C#FFFFFF#000000##FFFFFF
##7C255C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#484D5A
Tritanopia (blue-blind)
#84233D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c255c;
/* rgb */ color: rgb(124, 37, 92);
/* oklch */ color: oklch(41.7% 0.135 345.6);
Tailwind
colors: {
  custom: {
    50: '#a5678a',
    500: '#7c255c',
    950: '#000000',
  },
}
SCSS
$custom: #7c255c;
$custom-light: #a5678a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255c",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 322.069,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.13461,
    "h": 345.6
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#7C255C
secondary
#4FAE72
accent
#DD804A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C255C

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

Preview Lab → · Contrast checker → · Palette generator →

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