#7C255F#7C255F

#7C255F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.137 H 343.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7C255F
RGBrgb(124, 37, 95)
HSLhsl(320, 54%, 32%)
HSVhsv(320, 70%, 49%)
CMYKcmyk(0%, 70.2%, 23.4%, 51.4%)
CIE-LABlab(30.49, 43.59, -14.35)
CIE-LCHlch(30.49, 45.89, 341.78°)
OKLaboklab(41.88% 0.1311 -0.0383)
OKLCHoklch(41.88% 0.137 343.7)
XYZxyz(11.0397, 6.4355, 11.4850)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C255F #257C42
analogous
#6E257C #7C255F #7C2534
triadic
#7C255F #5F7C25 #255F7C
tetradic
#7C255F #7C6E25 #257C42 #25347C
square
#7C255F #7C6E25 #257C42 #25347C
split-complementary
#7C255F #347C25 #257C6E
monochromatic
#1E0917 #4D173B #7C255F #AB3383 #CB50A2

Accessibility & contrast

On white

9.18
#7C255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C255F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C255F#FFFFFF#000000##FFFFFF
##7C255F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#84253E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c255f;
/* rgb */ color: rgb(124, 37, 95);
/* oklch */ color: oklch(41.9% 0.137 343.7);
Tailwind
colors: {
  custom: {
    50: '#a5678c',
    500: '#7c255f',
    950: '#000000',
  },
}
SCSS
$custom: #7c255f;
$custom-light: #a5678c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c255f",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 320,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.13657,
    "h": 343.7
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#7C255F
secondary
#4FAE6E
accent
#DD7B4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C255F

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

Preview Lab → · Contrast checker → · Palette generator →

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