#7A265F#7A265F

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

Color values

HEX#7A265F
RGBrgb(122, 38, 95)
HSLhsl(319, 53%, 31%)
HSVhsv(319, 69%, 48%)
CMYKcmyk(0%, 68.9%, 22.1%, 52.2%)
CIE-LABlab(30.28, 42.57, -14.69)
CIE-LCHlch(30.28, 45.04, 340.96°)
OKLaboklab(41.66% 0.1277 -0.0393)
OKLCHoklch(41.66% 0.134 342.9)
XYZxyz(10.7850, 6.3511, 11.4821)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A265F #267A41
analogous
#6B267A #7A265F #7A2635
triadic
#7A265F #5F7A26 #265F7A
tetradic
#7A265F #7A6B26 #267A41 #26357A
square
#7A265F #7A6B26 #267A41 #26357A
split-complementary
#7A265F #357A26 #267A6B
monochromatic
#1D0916 #4B173B #7A265F #A93583 #C951A3

Accessibility & contrast

On white

9.25
#7A265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A265F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A265F#FFFFFF#000000##FFFFFF
##7A265F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#82263F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a265f;
/* rgb */ color: rgb(122, 38, 95);
/* oklch */ color: oklch(41.7% 0.134 342.9);
Tailwind
colors: {
  custom: {
    50: '#a3678c',
    500: '#7a265f',
    950: '#000000',
  },
}
SCSS
$custom: #7a265f;
$custom-light: #a3678c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a265f",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 319.286,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.13359,
    "h": 342.9
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#7A265F
secondary
#50AC6D
accent
#DC7A4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A265F

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

Preview Lab → · Contrast checker → · Palette generator →

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