#A12855#A12855

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

Color values

HEX#A12855
RGBrgb(161, 40, 85)
HSLhsl(338, 60%, 39%)
HSVhsv(338, 75%, 63%)
CMYKcmyk(0%, 75.2%, 47.2%, 36.9%)
CIE-LABlab(37.40, 52.10, 3.12)
CIE-LCHlch(37.40, 52.19, 3.43°)
OKLaboklab(48.11% 0.1596 0.0086)
OKLCHoklch(48.11% 0.16 3.1)
XYZxyz(17.0978, 9.7528, 9.5747)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12855 #28A174
analogous
#A12892 #A12855 #A13828
triadic
#A12855 #55A128 #2855A1
tetradic
#A12855 #92A128 #28A174 #3828A1
square
#A12855 #92A128 #28A174 #3828A1
split-complementary
#A12855 #28A138 #2892A1
monochromatic
#3F1021 #701C3B #A12855 #CE3970 #DA6A93

Accessibility & contrast

On white

7.12
#A12855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12855
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12855#FFFFFF#000000##FFFFFF
##A128551.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444956
Deuteranopia (green-blind)
#646152
Tritanopia (blue-blind)
#AF103B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12855;
/* rgb */ color: rgb(161, 40, 85);
/* oklch */ color: oklch(48.1% 0.160 3.1);
Tailwind
colors: {
  custom: {
    50: '#c26d84',
    500: '#a12855',
    950: '#000000',
  },
}
SCSS
$custom: #a12855;
$custom-light: #c26d84;
$custom-dark: #000000;
JSON
{
  "hex": "#a12855",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 337.686,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.15982,
    "h": 3.1
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#A12855
secondary
#65C09E
accent
#E3A844
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12855

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

Preview Lab → · Contrast checker → · Palette generator →

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