#7B235E#7B235E

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

Color values

HEX#7B235E
RGBrgb(123, 35, 94)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 71.5%, 23.6%, 51.8%)
CIE-LABlab(29.97, 43.97, -14.51)
CIE-LCHlch(29.97, 46.30, 341.73°)
OKLaboklab(41.45% 0.1323 -0.0387)
OKLCHoklch(41.45% 0.138 343.7)
XYZxyz(10.7902, 6.2223, 11.2203)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235E #237B40
analogous
#6C237B #7B235E #7B2332
triadic
#7B235E #5E7B23 #235E7B
tetradic
#7B235E #7B6C23 #237B40 #23327B
square
#7B235E #7B6C23 #237B40 #23327B
split-complementary
#7B235E #327B23 #237B6C
monochromatic
#1C0815 #4B153A #7B235E #AB3182 #CC4CA2

Accessibility & contrast

On white

9.36
#7B235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B235E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235E#FFFFFF#000000##FFFFFF
##7B235E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#83233D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b235e;
/* rgb */ color: rgb(123, 35, 94);
/* oklch */ color: oklch(41.4% 0.138 343.7);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7b235e',
    950: '#000000',
  },
}
SCSS
$custom: #7b235e;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235e",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 319.773,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.13789,
    "h": 343.7
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#7B235E
secondary
#4CAE6C
accent
#DF7A49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B235E

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

Preview Lab → · Contrast checker → · Palette generator →

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