#7D275F#7D275F

#7D275F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.135 H 344.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7D275F
RGBrgb(125, 39, 95)
HSLhsl(321, 52%, 32%)
HSVhsv(321, 69%, 49%)
CMYKcmyk(0%, 68.8%, 24%, 51%)
CIE-LABlab(30.97, 43.03, -13.59)
CIE-LCHlch(30.97, 45.13, 342.47°)
OKLaboklab(42.26% 0.1296 -0.0362)
OKLCHoklch(42.26% 0.135 344.4)
XYZxyz(11.2489, 6.6383, 11.5132)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D275F #277D45
analogous
#70277D #7D275F #7D2734
triadic
#7D275F #5F7D27 #275F7D
tetradic
#7D275F #7D7027 #277D45 #27347D
square
#7D275F #7D7027 #277D45 #27347D
split-complementary
#7D275F #347D27 #277D70
monochromatic
#200A18 #4E183C #7D275F #AC3682 #CA55A1

Accessibility & contrast

On white

9.02
#7D275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D275F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D275F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D275F#FFFFFF#000000##FFFFFF
##7D275F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#85263F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d275f;
/* rgb */ color: rgb(125, 39, 95);
/* oklch */ color: oklch(42.3% 0.135 344.4);
Tailwind
colors: {
  custom: {
    50: '#a6688c',
    500: '#7d275f',
    950: '#000000',
  },
}
SCSS
$custom: #7d275f;
$custom-light: #a6688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d275f",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 320.93,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42263,
    "c": 0.13453,
    "h": 344.4
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#7D275F
secondary
#51AF72
accent
#DC7E4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D275F

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

Preview Lab → · Contrast checker → · Palette generator →

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