#AF274B#AF274B

#AF274B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 11.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF274B
RGBrgb(175, 39, 75)
HSLhsl(344, 64%, 42%)
HSVhsv(344, 78%, 69%)
CMYKcmyk(0%, 77.7%, 57.1%, 31.4%)
CIE-LABlab(39.71, 55.66, 13.14)
CIE-LCHlch(39.71, 57.19, 13.28°)
OKLaboklab(50.22% 0.1685 0.0329)
OKLCHoklch(50.22% 0.172 11.1)
XYZxyz(19.6766, 11.0759, 7.7570)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF274B #27AF8B
analogous
#AF278F #AF274B #AF4727
triadic
#AF274B #4BAF27 #274BAF
tetradic
#AF274B #8FAF27 #27AF8B #4727AF
square
#AF274B #8FAF27 #27AF8B #4727AF
split-complementary
#AF274B #27AF47 #278FAF
monochromatic
#4B1120 #7D1C36 #AF274B #D43F66 #DF718E

Accessibility & contrast

On white

6.53
#AF274B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF274B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF274B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF274B#FFFFFF#000000##FFFFFF
##AF274B1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af274b;
/* rgb */ color: rgb(175, 39, 75);
/* oklch */ color: oklch(50.2% 0.172 11.1);
Tailwind
colors: {
  custom: {
    50: '#ce6e7d',
    500: '#af274b',
    950: '#000000',
  },
}
SCSS
$custom: #af274b;
$custom-light: #ce6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af274b",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 344.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.17171,
    "h": 11.1
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#AF274B
secondary
#6BC6AE
accent
#E7BB41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF274B

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

Preview Lab → · Contrast checker → · Palette generator →

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