#7B235A#7B235A

#7B235A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 346.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B235A
RGBrgb(123, 35, 90)
HSLhsl(323, 56%, 31%)
HSVhsv(323, 72%, 48%)
CMYKcmyk(0%, 71.5%, 26.8%, 51.8%)
CIE-LABlab(29.79, 43.40, -12.17)
CIE-LCHlch(29.79, 45.08, 344.33°)
OKLaboklab(41.26% 0.1314 -0.0322)
OKLCHoklch(41.26% 0.135 346.2)
XYZxyz(10.6153, 6.1523, 10.2993)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235A #237B44
analogous
#70237B #7B235A #7B232E
triadic
#7B235A #5A7B23 #235A7B
tetradic
#7B235A #7B7023 #237B44 #232E7B
square
#7B235A #7B7023 #237B44 #232E7B
split-complementary
#7B235A #2E7B23 #237B70
monochromatic
#1C0814 #4B1537 #7B235A #AB317D #CC4C9C

Accessibility & contrast

On white

9.42
#7B235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B235A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B235A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235A#FFFFFF#000000##FFFFFF
##7B235A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#84213B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b235a;
/* rgb */ color: rgb(123, 35, 90);
/* oklch */ color: oklch(41.3% 0.135 346.2);
Tailwind
colors: {
  custom: {
    50: '#a46688',
    500: '#7b235a',
    950: '#000000',
  },
}
SCSS
$custom: #7b235a;
$custom-light: #a46688;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235a",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 322.5,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.1353,
    "h": 346.2
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#7B235A
secondary
#4CAE71
accent
#DF8149
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B235A

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

Preview Lab → · Contrast checker → · Palette generator →

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