#7B2230#7B2230

#7B2230 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.122 H 15.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7B2230
RGBrgb(123, 34, 48)
HSLhsl(351, 57%, 31%)
HSVhsv(351, 72%, 48%)
CMYKcmyk(0%, 72.4%, 61%, 51.8%)
CIE-LABlab(28.30, 39.25, 13.51)
CIE-LCHlch(28.30, 41.51, 18.99°)
OKLaboklab(39.72% 0.1177 0.0333)
OKLCHoklch(39.72% 0.122 15.8)
XYZxyz(9.2748, 5.5697, 3.3824)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2230 #227B6D
analogous
#7B225C #7B2230 #7B4022
triadic
#7B2230 #307B22 #22307B
tetradic
#7B2230 #5C7B22 #227B6D #40227B
square
#7B2230 #5C7B22 #227B6D #40227B
split-complementary
#7B2230 #227B40 #225C7B
monochromatic
#1B070B #4B151D #7B2230 #AB2F43 #CD4A5F

Accessibility & contrast

On white

9.94
#7B2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B2230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2230
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2230#FFFFFF#000000##FFFFFF
##7B22301.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393730
Deuteranopia (green-blind)
#504A2E
Tritanopia (blue-blind)
#870C28
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2230;
/* rgb */ color: rgb(123, 34, 48);
/* oklch */ color: oklch(39.7% 0.122 15.8);
Tailwind
colors: {
  custom: {
    50: '#a76468',
    500: '#7b2230',
    950: '#000000',
  },
}
SCSS
$custom: #7b2230;
$custom-light: #a76468;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2230",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 350.562,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.12229,
    "h": 15.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#7B2230
secondary
#4BAE9E
accent
#E0C848
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B2230

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

Preview Lab → · Contrast checker → · Palette generator →

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