#7B275F#7B275F

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

Color values

HEX#7B275F
RGBrgb(123, 39, 95)
HSLhsl(320, 52%, 32%)
HSVhsv(320, 68%, 48%)
CMYKcmyk(0%, 68.3%, 22.8%, 51.8%)
CIE-LABlab(30.61, 42.44, -14.17)
CIE-LCHlch(30.61, 44.74, 341.54°)
OKLaboklab(41.94% 0.1274 -0.0378)
OKLCHoklch(41.94% 0.133 343.5)
XYZxyz(10.9598, 6.4893, 11.4996)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B275F #277B43
analogous
#6D277B #7B275F #7B2735
triadic
#7B275F #5F7B27 #275F7B
tetradic
#7B275F #7B6D27 #277B43 #27357B
square
#7B275F #7B6D27 #277B43 #27357B
split-complementary
#7B275F #357B27 #277B6D
monochromatic
#1E0A17 #4D183B #7B275F #A93683 #C954A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B275F#FFFFFF#000000##FFFFFF
##7B275F1.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)
#2F3F61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#83273F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b275f;
/* rgb */ color: rgb(123, 39, 95);
/* oklch */ color: oklch(41.9% 0.133 343.5);
Tailwind
colors: {
  custom: {
    50: '#a4688c',
    500: '#7b275f',
    950: '#000000',
  },
}
SCSS
$custom: #7b275f;
$custom-light: #a4688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b275f",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 320,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.13292,
    "h": 343.5
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#7B275F
secondary
#51AD70
accent
#DB7C4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B275F

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

Preview Lab → · Contrast checker → · Palette generator →

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