#7A275F#7A275F

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

Color values

HEX#7A275F
RGBrgb(122, 39, 95)
HSLhsl(320, 52%, 32%)
HSVhsv(320, 68%, 48%)
CMYKcmyk(0%, 68%, 22.1%, 52.2%)
CIE-LABlab(30.44, 42.14, -14.45)
CIE-LCHlch(30.44, 44.55, 341.07°)
OKLaboklab(41.77% 0.1264 -0.0386)
OKLCHoklch(41.77% 0.132 343)
XYZxyz(10.8175, 6.4159, 11.4929)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A275F #277A42
analogous
#6C277A #7A275F #7A2736
triadic
#7A275F #5F7A27 #275F7A
tetradic
#7A275F #7A6C27 #277A42 #27367A
square
#7A275F #7A6C27 #277A42 #27367A
split-complementary
#7A275F #367A27 #277A6C
monochromatic
#1D0917 #4C183B #7A275F #A83683 #C853A2

Accessibility & contrast

On white

9.20
#7A275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A275F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A275F#FFFFFF#000000##FFFFFF
##7A275F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#82273F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a275f;
/* rgb */ color: rgb(122, 39, 95);
/* oklch */ color: oklch(41.8% 0.132 343.0);
Tailwind
colors: {
  custom: {
    50: '#a3688c',
    500: '#7a275f',
    950: '#000000',
  },
}
SCSS
$custom: #7a275f;
$custom-light: #a3688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a275f",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 319.518,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.13213,
    "h": 343
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#7A275F
secondary
#51AC6E
accent
#DB7B4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A275F

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

Preview Lab → · Contrast checker → · Palette generator →

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