#A7235B#A7235B

#A7235B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.172 H 0.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A7235B
RGBrgb(167, 35, 91)
HSLhsl(335, 65%, 40%)
HSVhsv(335, 79%, 65%)
CMYKcmyk(0%, 79%, 45.5%, 34.5%)
CIE-LABlab(38.16, 55.96, 0.54)
CIE-LCHlch(38.16, 55.96, 0.55°)
OKLaboklab(48.94% 0.1719 0.002)
OKLCHoklch(48.94% 0.172 0.7)
XYZxyz(18.4272, 10.1754, 10.8892)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7235B #23A76F
analogous
#A7239D #A7235B #A72D23
triadic
#A7235B #5BA723 #235BA7
tetradic
#A7235B #9DA723 #23A76F #2D23A7
square
#A7235B #9DA723 #23A76F #2D23A7
split-complementary
#A7235B #23A72D #239DA7
monochromatic
#420E24 #74183F #A7235B #D43377 #DF6699

Accessibility & contrast

On white

6.92
#A7235B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A7235B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7235B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7235B#FFFFFF#000000##FFFFFF
##A7235B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B6033C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7235b;
/* rgb */ color: rgb(167, 35, 91);
/* oklch */ color: oklch(48.9% 0.172 0.7);
Tailwind
colors: {
  custom: {
    50: '#c76c89',
    500: '#a7235b',
    950: '#000000',
  },
}
SCSS
$custom: #a7235b;
$custom-light: #c76c89;
$custom-dark: #000000;
JSON
{
  "hex": "#a7235b",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 334.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.1719,
    "h": 0.7
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#A7235B
secondary
#61C49A
accent
#E8A13F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7235B

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

Preview Lab → · Contrast checker → · Palette generator →

#A7235B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva