#7D255E#7D255E

#7D255E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.137 H 344.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7D255E
RGBrgb(125, 37, 94)
HSLhsl(321, 54%, 32%)
HSVhsv(321, 70%, 49%)
CMYKcmyk(0%, 70.4%, 24.8%, 51%)
CIE-LABlab(30.62, 43.73, -13.48)
CIE-LCHlch(30.62, 45.76, 342.87°)
OKLaboklab(42% 0.1319 -0.0358)
OKLCHoklch(42% 0.137 344.8)
XYZxyz(11.1398, 6.4924, 11.2540)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D255E #257D44
analogous
#70257D #7D255E #7D2532
triadic
#7D255E #5E7D25 #255E7D
tetradic
#7D255E #7D7025 #257D44 #25327D
square
#7D255E #7D7025 #257D44 #25327D
split-complementary
#7D255E #327D25 #257D70
monochromatic
#1F0917 #4E173A #7D255E #AC3382 #CB51A0

Accessibility & contrast

On white

9.14
#7D255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D255E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D255E#FFFFFF#000000##FFFFFF
##7D255E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F60
Deuteranopia (green-blind)
#494D5C
Tritanopia (blue-blind)
#85243E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d255e;
/* rgb */ color: rgb(125, 37, 94);
/* oklch */ color: oklch(42.0% 0.137 344.8);
Tailwind
colors: {
  custom: {
    50: '#a6678b',
    500: '#7d255e',
    950: '#000000',
  },
}
SCSS
$custom: #7d255e;
$custom-light: #a6678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d255e",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 321.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.1367,
    "h": 344.8
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#7D255E
secondary
#4FAF71
accent
#DE7E4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D255E

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

Preview Lab → · Contrast checker → · Palette generator →

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