#7A275E#7A275E

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

Color values

HEX#7A275E
RGBrgb(122, 39, 94)
HSLhsl(320, 52%, 32%)
HSVhsv(320, 68%, 48%)
CMYKcmyk(0%, 68%, 23%, 52.2%)
CIE-LABlab(30.39, 41.99, -13.87)
CIE-LCHlch(30.39, 44.22, 341.72°)
OKLaboklab(41.73% 0.1261 -0.037)
OKLCHoklch(41.73% 0.131 343.7)
XYZxyz(10.7723, 6.3978, 11.2551)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A275E #277A43
analogous
#6D277A #7A275E #7A2735
triadic
#7A275E #5E7A27 #275E7A
tetradic
#7A275E #7A6D27 #277A43 #27357A
square
#7A275E #7A6D27 #277A43 #27357A
split-complementary
#7A275E #357A27 #277A6D
monochromatic
#1D0917 #4C183A #7A275E #A83682 #C853A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A275E#FFFFFF#000000##FFFFFF
##7A275E1.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)
#2F3F60
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#82273F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a275e;
/* rgb */ color: rgb(122, 39, 94);
/* oklch */ color: oklch(41.7% 0.131 343.7);
Tailwind
colors: {
  custom: {
    50: '#a3688b',
    500: '#7a275e',
    950: '#000000',
  },
}
SCSS
$custom: #7a275e;
$custom-light: #a3688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a275e",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 320.241,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.13144,
    "h": 343.7
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#7A275E
secondary
#51AC70
accent
#DB7D4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A275E

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

Preview Lab → · Contrast checker → · Palette generator →

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