#A5235A#A5235A

#A5235A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.170 H 0.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A5235A
RGBrgb(165, 35, 90)
HSLhsl(335, 65%, 39%)
HSVhsv(335, 79%, 65%)
CMYKcmyk(0%, 78.8%, 45.5%, 35.3%)
CIE-LABlab(37.74, 55.32, 0.52)
CIE-LCHlch(37.74, 55.32, 0.54°)
OKLaboklab(48.55% 0.1699 0.002)
OKLCHoklch(48.55% 0.17 0.7)
XYZxyz(17.9650, 9.9420, 10.6439)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5235A #23A56E
analogous
#A5239B #A5235A #A52D23
triadic
#A5235A #5AA523 #235AA5
tetradic
#A5235A #9BA523 #23A56E #2D23A5
square
#A5235A #9BA523 #23A56E #2D23A5
split-complementary
#A5235A #23A52D #239BA5
monochromatic
#400E23 #73183E #A5235A #D33276 #DE6498

Accessibility & contrast

On white

7.03
#A5235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A5235A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5235A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5235A#FFFFFF#000000##FFFFFF
##A5235A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#B3043C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5235a;
/* rgb */ color: rgb(165, 35, 90);
/* oklch */ color: oklch(48.6% 0.170 0.7);
Tailwind
colors: {
  custom: {
    50: '#c56c88',
    500: '#a5235a',
    950: '#000000',
  },
}
SCSS
$custom: #a5235a;
$custom-light: #c56c88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5235a",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 334.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.16992,
    "h": 0.7
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#A5235A
secondary
#60C49A
accent
#E8A140
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5235A

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

Preview Lab → · Contrast checker → · Palette generator →

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