#A22757#A22757

#A22757 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.162 H 2.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A22757
RGBrgb(162, 39, 87)
HSLhsl(337, 61%, 39%)
HSVhsv(337, 76%, 64%)
CMYKcmyk(0%, 75.9%, 46.3%, 36.5%)
CIE-LABlab(37.52, 52.92, 2.05)
CIE-LCHlch(37.52, 52.96, 2.22°)
OKLaboklab(48.26% 0.1623 0.0059)
OKLCHoklch(48.26% 0.162 2.1)
XYZxyz(17.3475, 9.8228, 9.9975)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22757 #27A272
analogous
#A22795 #A22757 #A23427
triadic
#A22757 #57A227 #2757A2
tetradic
#A22757 #95A227 #27A272 #3427A2
square
#A22757 #95A227 #27A272 #3427A2
split-complementary
#A22757 #27A234 #2795A2
monochromatic
#3F0F22 #711B3D #A22757 #CF3772 #DB6995

Accessibility & contrast

On white

7.08
#A22757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A22757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22757
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22757#FFFFFF#000000##FFFFFF
##A227571.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434958
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#B00F3C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22757;
/* rgb */ color: rgb(162, 39, 87);
/* oklch */ color: oklch(48.3% 0.162 2.1);
Tailwind
colors: {
  custom: {
    50: '#c36d86',
    500: '#a22757',
    950: '#000000',
  },
}
SCSS
$custom: #a22757;
$custom-light: #c36d86;
$custom-dark: #000000;
JSON
{
  "hex": "#a22757",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 336.585,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.16237,
    "h": 2.1
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#A22757
secondary
#64C19D
accent
#E4A643
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22757

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

Preview Lab → · Contrast checker → · Palette generator →

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