#7B235F#7B235F

#7B235F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.139 H 343.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7B235F
RGBrgb(123, 35, 95)
HSLhsl(319, 56%, 31%)
HSVhsv(319, 72%, 48%)
CMYKcmyk(0%, 71.5%, 22.8%, 51.8%)
CIE-LABlab(30.01, 44.12, -15.09)
CIE-LCHlch(30.01, 46.63, 341.11°)
OKLaboklab(41.49% 0.1326 -0.0404)
OKLCHoklch(41.49% 0.139 343.1)
XYZxyz(10.8353, 6.2403, 11.4581)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235F #237B3F
analogous
#6B237B #7B235F #7B2333
triadic
#7B235F #5F7B23 #235F7B
tetradic
#7B235F #7B6B23 #237B3F #23337B
square
#7B235F #7B6B23 #237B3F #23337B
split-complementary
#7B235F #337B23 #237B6B
monochromatic
#1C0815 #4B153A #7B235F #AB3184 #CC4CA3

Accessibility & contrast

On white

9.34
#7B235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B235F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235F#FFFFFF#000000##FFFFFF
##7B235F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b235f;
/* rgb */ color: rgb(123, 35, 95);
/* oklch */ color: oklch(41.5% 0.139 343.1);
Tailwind
colors: {
  custom: {
    50: '#a4668c',
    500: '#7b235f',
    950: '#000000',
  },
}
SCSS
$custom: #7b235f;
$custom-light: #a4668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235f",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 319.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.13857,
    "h": 343.1
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#7B235F
secondary
#4CAE6B
accent
#DF7949
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B235F

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

Preview Lab → · Contrast checker → · Palette generator →

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