#7B235D#7B235D

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

Color values

HEX#7B235D
RGBrgb(123, 35, 93)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 71.5%, 24.4%, 51.8%)
CIE-LABlab(29.92, 43.83, -13.93)
CIE-LCHlch(29.92, 45.99, 342.37°)
OKLaboklab(41.4% 0.1321 -0.0371)
OKLCHoklch(41.4% 0.137 344.3)
XYZxyz(10.7456, 6.2044, 10.9855)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235D #237B41
analogous
#6D237B #7B235D #7B2331
triadic
#7B235D #5D7B23 #235D7B
tetradic
#7B235D #7B6D23 #237B41 #23317B
square
#7B235D #7B6D23 #237B41 #23317B
split-complementary
#7B235D #317B23 #237B6D
monochromatic
#1C0815 #4B1539 #7B235D #AB3181 #CC4CA1

Accessibility & contrast

On white

9.37
#7B235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B235D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235D#FFFFFF#000000##FFFFFF
##7B235D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#83223C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b235d;
/* rgb */ color: rgb(123, 35, 93);
/* oklch */ color: oklch(41.4% 0.137 344.3);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7b235d',
    950: '#000000',
  },
}
SCSS
$custom: #7b235d;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235d",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 320.455,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.414,
    "c": 0.13723,
    "h": 344.3
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#7B235D
secondary
#4CAE6D
accent
#DF7C49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B235D

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

Preview Lab → · Contrast checker → · Palette generator →

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