#A5234F#A5234F

#A5234F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.167 H 6.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A5234F
RGBrgb(165, 35, 79)
HSLhsl(340, 65%, 39%)
HSVhsv(340, 79%, 65%)
CMYKcmyk(0%, 78.8%, 52.1%, 35.3%)
CIE-LABlab(37.42, 54.34, 7.11)
CIE-LCHlch(37.42, 54.81, 7.46°)
OKLaboklab(48.22% 0.1659 0.0185)
OKLCHoklch(48.22% 0.167 6.4)
XYZxyz(17.5310, 9.7684, 8.3580)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234F #23A579
analogous
#A52390 #A5234F #A53823
triadic
#A5234F #4FA523 #234FA5
tetradic
#A5234F #90A523 #23A579 #3823A5
square
#A5234F #90A523 #23A579 #3823A5
split-complementary
#A5234F #23A538 #2390A5
monochromatic
#400E1F #731837 #A5234F #D33268 #DE648E

Accessibility & contrast

On white

7.11
#A5234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A5234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5234F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5234F#FFFFFF#000000##FFFFFF
##A5234F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454850
Deuteranopia (green-blind)
#67614C
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234f;
/* rgb */ color: rgb(165, 35, 79);
/* oklch */ color: oklch(48.2% 0.167 6.4);
Tailwind
colors: {
  custom: {
    50: '#c66b80',
    500: '#a5234f',
    950: '#000000',
  },
}
SCSS
$custom: #a5234f;
$custom-light: #c66b80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234f",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 339.692,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.16696,
    "h": 6.4
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#A5234F
secondary
#60C4A2
accent
#E8AF40
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A5234F

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

Preview Lab → · Contrast checker → · Palette generator →

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