#A7235F#A7235F

#A7235F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.173 H 358.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A7235F
RGBrgb(167, 35, 95)
HSLhsl(333, 65%, 40%)
HSVhsv(333, 79%, 65%)
CMYKcmyk(0%, 79%, 43.1%, 34.5%)
CIE-LABlab(38.28, 56.34, -1.83)
CIE-LCHlch(38.28, 56.37, 358.14°)
OKLaboklab(49.07% 0.1732 -0.0041)
OKLCHoklch(49.07% 0.173 358.6)
XYZxyz(18.6044, 10.2462, 11.8223)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7235F #23A76B
analogous
#A723A1 #A7235F #A72923
triadic
#A7235F #5FA723 #235FA7
tetradic
#A7235F #A1A723 #23A76B #2923A7
square
#A7235F #A1A723 #23A76B #2923A7
split-complementary
#A7235F #23A729 #23A1A7
monochromatic
#420E25 #741842 #A7235F #D4337C #DF669D

Accessibility & contrast

On white

6.89
#A7235F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A7235F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7235F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7235F#FFFFFF#000000##FFFFFF
##A7235F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B5073E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7235f;
/* rgb */ color: rgb(167, 35, 95);
/* oklch */ color: oklch(49.1% 0.173 358.6);
Tailwind
colors: {
  custom: {
    50: '#c66c8c',
    500: '#a7235f',
    950: '#000000',
  },
}
SCSS
$custom: #a7235f;
$custom-light: #c66c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7235f",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 332.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.17328,
    "h": 358.6
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#A7235F
secondary
#61C497
accent
#E89C3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A7235F

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

Preview Lab → · Contrast checker → · Palette generator →

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