#7B225F#7B225F

#7B225F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 343.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7B225F
RGBrgb(123, 34, 95)
HSLhsl(319, 57%, 31%)
HSVhsv(319, 72%, 48%)
CMYKcmyk(0%, 72.4%, 22.8%, 51.8%)
CIE-LABlab(29.87, 44.52, -15.31)
CIE-LCHlch(29.87, 47.08, 341.02°)
OKLaboklab(41.39% 0.1338 -0.041)
OKLCHoklch(41.39% 0.14 343)
XYZxyz(10.8063, 6.1823, 11.4484)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225F #227B3E
analogous
#6A227B #7B225F #7B2233
triadic
#7B225F #5F7B22 #225F7B
tetradic
#7B225F #7B6A22 #227B3E #22337B
square
#7B225F #7B6A22 #227B3E #22337B
split-complementary
#7B225F #337B22 #227B6A
monochromatic
#1B0715 #4B153A #7B225F #AB2F84 #CD4AA4

Accessibility & contrast

On white

9.39
#7B225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B225F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225F#FFFFFF#000000##FFFFFF
##7B225F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#83223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225f;
/* rgb */ color: rgb(123, 34, 95);
/* oklch */ color: oklch(41.4% 0.140 343.0);
Tailwind
colors: {
  custom: {
    50: '#a4658c',
    500: '#7b225f',
    950: '#000000',
  },
}
SCSS
$custom: #7b225f;
$custom-light: #a4658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225f",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 318.876,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.13991,
    "h": 343
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#7B225F
secondary
#4BAE6A
accent
#E07848
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B225F

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

Preview Lab → · Contrast checker → · Palette generator →

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