#7C255D#7C255D

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

Color values

HEX#7C255D
RGBrgb(124, 37, 93)
HSLhsl(321, 54%, 32%)
HSVhsv(321, 70%, 49%)
CMYKcmyk(0%, 70.2%, 25%, 51.4%)
CIE-LABlab(30.40, 43.30, -13.18)
CIE-LCHlch(30.40, 45.26, 343.06°)
OKLaboklab(41.78% 0.1306 -0.035)
OKLCHoklch(41.78% 0.135 345)
XYZxyz(10.9499, 6.3996, 11.0124)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255D #257C44
analogous
#70257C #7C255D #7C2532
triadic
#7C255D #5D7C25 #255D7C
tetradic
#7C255D #7C7025 #257C44 #25327C
square
#7C255D #7C7025 #257C44 #25327C
split-complementary
#7C255D #327C25 #257C70
monochromatic
#1E0916 #4D173A #7C255D #AB3380 #CB509F

Accessibility & contrast

On white

9.21
#7C255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C255D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255D#FFFFFF#000000##FFFFFF
##7C255D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#84243D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c255d;
/* rgb */ color: rgb(124, 37, 93);
/* oklch */ color: oklch(41.8% 0.135 345.0);
Tailwind
colors: {
  custom: {
    50: '#a5678b',
    500: '#7c255d',
    950: '#000000',
  },
}
SCSS
$custom: #7c255d;
$custom-light: #a5678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255d",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 321.379,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.13525,
    "h": 345
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#7C255D
secondary
#4FAE71
accent
#DD7F4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C255D

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

Preview Lab → · Contrast checker → · Palette generator →

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