#A12854#A12854

#A12854 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.160 H 3.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A12854
RGBrgb(161, 40, 84)
HSLhsl(338, 60%, 39%)
HSVhsv(338, 75%, 63%)
CMYKcmyk(0%, 75.2%, 47.8%, 36.9%)
CIE-LABlab(37.37, 52.01, 3.72)
CIE-LCHlch(37.37, 52.14, 4.09°)
OKLaboklab(48.08% 0.1592 0.0101)
OKLCHoklch(48.08% 0.16 3.6)
XYZxyz(17.0584, 9.7370, 9.3670)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12854 #28A175
analogous
#A12891 #A12854 #A13928
triadic
#A12854 #54A128 #2854A1
tetradic
#A12854 #91A128 #28A175 #3928A1
square
#A12854 #91A128 #28A175 #3928A1
split-complementary
#A12854 #28A139 #2891A1
monochromatic
#3F1021 #701C3A #A12854 #CE396F #DA6A92

Accessibility & contrast

On white

7.13
#A12854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12854
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12854#FFFFFF#000000##FFFFFF
##A128541.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444955
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#AF0F3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12854;
/* rgb */ color: rgb(161, 40, 84);
/* oklch */ color: oklch(48.1% 0.160 3.6);
Tailwind
colors: {
  custom: {
    50: '#c26d83',
    500: '#a12854',
    950: '#000000',
  },
}
SCSS
$custom: #a12854;
$custom-light: #c26d83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12854",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 338.182,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.15954,
    "h": 3.6
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#A12854
secondary
#65C09F
accent
#E3AA44
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12854

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

Preview Lab → · Contrast checker → · Palette generator →

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